6e1425ab25
Docker: removed superfluous ;
2017-03-10 09:54:27 +01:00
85f3f19c34
Added some more deployment documentation
2017-03-09 15:45:51 +01:00
557ce1b922
Docker: add useful tail /var/log/apache2/access.log to bash_history
2017-03-09 15:30:45 +01:00
d2d04b2398
Docker: added missing libraries for JPEG and PNG support in Pillow.
2017-03-09 15:30:32 +01:00
e31b3cf8b4
Docker: pin specific versions for images, for reproducible deploys.
2017-03-09 11:02:04 +01:00
85c2b1bcd6
Docker: stop on errors in 3_buildwheels/build.sh
2017-03-09 11:01:36 +01:00
79b8194b2a
Docker: exec single commands
...
This replaces bash with the docker command, freeing memory and
automatically returning the exit code of the docker command as the exit
code of the shell script.
2017-03-09 11:01:24 +01:00
06cc338b08
Docker: always apt-get update before apt-get install
2017-03-09 11:00:21 +01:00
b0ab696e49
Started documenting steps to set up a production machine from scratch.
2017-03-08 17:23:00 +01:00
30c9cfd538
Use armadillica/blender_cloud:latest-py36 in this branch
2017-03-08 17:18:52 +01:00
2f6049edee
Docker images: renamed pillar_py:3.6 to armadillica/pillar_py:3.6
...
This allows us to push the Python image to Docker Hub.
2017-03-08 13:55:02 +01:00
71a1a69f16
Updated paths for XSendFilePath
...
Now that we use egg links, and not symlinks, to install our packages,
we can use the actual paths.
2017-03-08 13:02:36 +01:00
fab68aa802
Removed virtualenv from manage.sh, and using exec
2017-03-08 12:38:16 +01:00
e27f5b7cec
Docker-compose: use /data/git as one volume, instead of mapping all subdirs
2017-03-08 12:38:00 +01:00
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