Added docker deployment instructions to README

This commit is contained in:
2016-10-20 15:05:28 +02:00
parent 9a2647dcb5
commit 9688730154

View File

@@ -75,3 +75,19 @@ were still waiting for it.
After everything is done, your (sub)projects should all be back on After everything is done, your (sub)projects should all be back on
the master branch. the master branch.
## Updating dependencies via Docker images
To update dependencies that need compiling, you need the `2_build` docker
container. To rebuild the lot, run `docker/build.sh`.
Follow these steps to deploy the new container on production:
1. run `docker/build.sh`
2. `docker push armadillica/blender_cloud`
On the production machine:
1. `docker pull armadillica/blender_cloud`
2. `docker-compose up -d` (from the `/data/git/blender-cloud/docker` directory)