Docker: store Cloud container /var/log on host in /data/log
This commit is contained in:
@@ -30,6 +30,7 @@ RUN pip3 install --no-index --find-links=/data/wheelhouse -r /data/wheelhouse/re
|
|||||||
VOLUME /data/git
|
VOLUME /data/git
|
||||||
VOLUME /data/config
|
VOLUME /data/config
|
||||||
VOLUME /data/storage
|
VOLUME /data/storage
|
||||||
|
VOLUME /var/log
|
||||||
|
|
||||||
ENV USE_X_SENDFILE True
|
ENV USE_X_SENDFILE True
|
||||||
|
|
||||||
|
@@ -20,9 +20,11 @@ blender_cloud:
|
|||||||
VIRTUAL_HOST_WEIGHT: 10
|
VIRTUAL_HOST_WEIGHT: 10
|
||||||
FORCE_SSL: "true"
|
FORCE_SSL: "true"
|
||||||
volumes:
|
volumes:
|
||||||
|
# format: HOST:CONTAINER
|
||||||
- /data/git:/data/git:ro
|
- /data/git:/data/git:ro
|
||||||
- /data/config:/data/config:ro
|
- /data/config:/data/config:ro
|
||||||
- /data/storage/pillar:/data/storage/pillar
|
- /data/storage/pillar:/data/storage/pillar
|
||||||
|
- /data/log:/var/log
|
||||||
links:
|
links:
|
||||||
- mongo
|
- mongo
|
||||||
- redis
|
- redis
|
||||||
|
Reference in New Issue
Block a user