This commit is contained in:
William Miceli
2018-03-27 16:05:53 -04:00
parent 8e16e91a0d
commit ee19dde181

View File

@@ -39,12 +39,12 @@ services:
ports: ports:
- "8000:80" - "8000:80"
volumes: volumes:
- type: 'volume' - type: volume
source: ${VOLUME_WEB} source: ${VOLUME_WEB}
target: '/etc/nginx/nginx.conf' target: /etc/nginx/nginx.conf
read_only: 'true' read_only: true
volume: volume:
nocopy: 'true' nocopy: true
volumes_from: volumes_from:
- app - app
environment: environment:
@@ -68,4 +68,6 @@ environment:
- MYSQL_ROOT_PASSWORD='pwd' - MYSQL_ROOT_PASSWORD='pwd'
networks: networks:
ninja-net: ninja-net:
volumes:
${VOLUME_WEB}:
volumes_driver: rancher-nfs volumes_driver: rancher-nfs