Commit Graph

127 Commits

Author SHA1 Message Date
a332f627a4 Tweaked docker-entrypoint.sh to properly install packages. 2017-03-08 12:36:06 +01:00
9fe7d7fd2b WIP: More docker tweaks 2017-03-08 12:35:35 +01:00
6adf45a94a Be more selective in what we install on the production docker image. 2017-03-08 12:34:48 +01:00
e443885460 Create links python and pip to python3 and pip3. 2017-03-08 12:33:15 +01:00
e086862567 WIP: building mod_wsgi against Python 3.6
The module is included in the built Python directory, in
/opt/python/mod-wsgi/mod_wsgi.so
2017-03-08 12:32:54 +01:00
5ad9f275ef Strip Python install, saves roughly 90 MB in final image size. 2017-03-07 23:01:19 +01:00
faf38dea7e Uncommented some accidentally commented-out stuff 2017-03-07 23:00:10 +01:00
d7e4995cfa WIP: more work on the docker structure, still not finished with 4_run
1_base: builds a base image, based on Ubuntu 16.10
2_buildpy: builds two images:
	2a: an image that can build Python 3.6
	2b: an image that contains the built Python 3.6 in /opt/python
3_buildwheels: builds an image to build wheel files, puts them in ../4_run
4_run: the production runtime image, which can't build anything and just runs.
2017-03-07 22:41:05 +01:00
af14910fa9 WIP breaking stuff: updating docker image build process for Python 3.6
This requires a new way to pass requirements.txt files to Docker (since
they now link to each other), as well as building Python ourselves (since
even Ubuntu 16.10 doesn't have a decent Python 3.6).

This is just a WIP commit, will be fixed soon(ish).
2017-03-07 16:51:51 +01:00
8407230d81 Set VIRTUAL_HOST_WEIGHT: 20 for grafista docker image 2017-01-26 16:46:33 +01:00
8eeccb06c6 Introducing Grafista prototype to display stats
We configure haproxy to serve /stats as a separate app (from the
grafista container).
2017-01-24 16:02:31 +01:00
40f01b581f Fixed flamenco paths 2017-01-12 17:56:02 +01:00
Dalai Felinto
a488ff4176 Use Flamenco module 2016-11-06 18:58:51 +01:00
9f886d51c2 Added commented-out notification server support for HAProxy. 2016-10-21 11:16:06 +02:00
9a2647dcb5 Install nano, vim and curl on docker image 2016-10-20 14:45:33 +02:00
7213368736 Added docker-compose.yml 2016-10-20 14:45:23 +02:00
a36ad0c1ec Add static path for Attract to Apache vhost config 2016-09-29 18:10:11 +02:00
3937dcebc5 Add attract to docker-entrypoint 2016-09-29 17:11:29 +02:00
c388a62b1b Let manage.sh (in docker image) cd to the proper directory 2016-08-24 18:23:24 +02:00
a600f30b1f Added apache2.conf to the docker image.
There are two settings I've changed:

-Timeout 300
+Timeout 3600
+ServerName cloud.blender.org
2016-08-24 17:12:43 +02:00
380c5387b5 Include log rotation in the base docker image 2016-08-24 11:34:07 +02:00
ba9d3e708d Docker image WSGI: use multi-processing rather than multi-threading.
Also set a max number of requests a process is allowed to handle before
it is restarted. This limits the scope of possible memory leaks, etc.
2016-08-24 11:17:50 +02:00
36feb2e68c Fix for not loaded config when in dev mode 2016-08-18 12:13:09 +02:00
f29b9eb700 Fix for typo 2016-08-17 08:30:31 +02:00
cd67b5d03a Add more XSendFilePath, plus url rewrite to support legacy address
We are going to deprecate cloudapi.blender.org in favour of
cloud.blender.org/api in the future.
2016-08-17 08:30:26 +02:00
91aedf1a89 Dev server should listen to all hosts when in doker 2016-08-16 11:41:51 +02:00
881cb6bc40 Staged Docker build script 2016-08-10 18:27:27 +02:00