Docker: store Cloud container /var/log on host in /data/log

This commit is contained in:
2017-05-17 10:07:40 +02:00
parent e2efc70e44
commit 2892a46a27
2 changed files with 3 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ RUN pip3 install --no-index --find-links=/data/wheelhouse -r /data/wheelhouse/re
VOLUME /data/git
VOLUME /data/config
VOLUME /data/storage
VOLUME /var/log
ENV USE_X_SENDFILE True

View File

@@ -20,9 +20,11 @@ blender_cloud:
VIRTUAL_HOST_WEIGHT: 10
FORCE_SSL: "true"
volumes:
# format: HOST:CONTAINER
- /data/git:/data/git:ro
- /data/config:/data/config:ro
- /data/storage/pillar:/data/storage/pillar
- /data/log:/var/log
links:
- mongo
- redis