Make Docker use a volume instead of a volume container

This commit is contained in:
Jean-Marc Tremeaux 2016-03-01 11:32:07 +01:00
parent 943465a390
commit 7deaeca7b5

View File

@ -2,6 +2,6 @@
docker rm -f sismics_docs docker rm -f sismics_docs
docker run \ docker run \
-d --name=sismics_docs --restart=always \ -d --name=sismics_docs --restart=always \
--volumes-from=sismics_docs_data \ -v sismics_docs_data:/data \
-e 'VIRTUAL_HOST_SECURE=docs.sismics.com' -e 'VIRTUAL_PORT=80' \ -e 'VIRTUAL_HOST_SECURE=docs.sismics.com' -e 'VIRTUAL_PORT=80' \
sismics/docs:latest sismics/docs:latest