ducatel / reviewboard Goto Github PK
View Code? Open in Web Editor NEWDocker container for reviewboard
License: GNU General Public License v3.0
Docker container for reviewboard
License: GNU General Public License v3.0
I am trying to add a handling of robots.txt
(as bots really annoying). My naive approach wast simply to update uwsgi.ini and
include the following line:
static-map=/robots.txt=/var/www/reviewboard/htdocs/robots.txt
However, it's ignored. Any ideas?
I ran the three docker commands in turn:
docker run -d --name database -e MYSQL_ROOT_PASSWORD=reviewboard -e MYSQL_USER=reviewboard -e MYSQL_PASSWORD=reviewboard -e MYSQL_DATABASE=reviewboard mysql
docker run -d --name cache memcached
docker run -d --name reviewboard -p "8000:8000" --link "cache:memcached" --link "database:rb_db" ducatel/reviewboard
... but when I browse to 127.0.0.1:8000
, I get this error:
Full docker logs here
CRITICAL:root:Unable to load SiteConfiguration: (2026, 'SSL connection error: unknown error number')
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/reviewboard/admin/middleware.py", line 44, in process_request
siteconfig = SiteConfiguration.objects.get_current()
File "/usr/local/lib/python2.7/dist-packages/djblets/siteconfig/managers.py", line 42, in get_current
return self.get_for_site_id(Site.objects.get_current().pk)
File "/usr/local/lib/python2.7/dist-packages/django/contrib/sites/models.py", line 47, in get_current
current_site = self.get(pk=sid)
File "/usr/local/lib/python2.7/dist-packages/django/db/models/manager.py", line 151, in get
return self.get_queryset().get(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 304, in get
num = len(clone)
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 77, in __len__
self._fetch_all()
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 857, in _fetch_all
self._result_cache = list(self.iterator())
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 220, in iterator
for row in compiler.results_iter():
File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 713, in results_iter
for rows in self.execute_sql(MULTI):
File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 785, in execute_sql
cursor = self.connection.cursor()
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 162, in cursor
cursor = util.CursorWrapper(self._cursor(), self)
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 132, in _cursor
self.ensure_connection()
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 127, in ensure_connection
self.connect()
File "/usr/local/lib/python2.7/dist-packages/django/db/utils.py", line 99, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 127, in ensure_connection
self.connect()
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 115, in connect
self.connection = self.get_new_connection(conn_params)
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/mysql/base.py", line 435, in get_new_connection
conn = Database.connect(**conn_params)
File "/usr/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 81, in Connect
return Connection(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 204, in __init__
super(Connection, self).__init__(*args, **kwargs2)
OperationalError: (2026, 'SSL connection error: unknown error number')
I don't need SSL as this is an internal test. Is there a way to disable SSL wherever it needs to be (either in mysql or reviewboard)?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.