1
0
Fork 0
mirror of synced 2024-06-03 03:14:50 +12:00

Updated volumes for better segmentation

This commit is contained in:
eldadfux 2019-09-27 21:41:54 +03:00
parent 4d73161911
commit 7bb849a405
2 changed files with 14 additions and 8 deletions

View file

@ -5,7 +5,10 @@ services:
build: .
restart: unless-stopped
volumes:
- .:/usr/share/nginx/html
- ./app:/usr/share/nginx/html/app
- ./public:/usr/share/nginx/html/public
- ./src:/usr/share/nginx/html/src
- ./vendor:/usr/share/nginx/html/vendor
- ./docker/nginx.conf:/etc/nginx/nginx.conf:rw
- ./storage/uploads:/storage/uploads:rw
- ./storage/cache:/storage/cache:rw
@ -13,12 +16,12 @@ services:
- "80:80"
- "443:443"
depends_on:
- mariadb
- redis
- smtp
- clamav
- influxdb
- telegraf
- mariadb
- redis
- smtp
- clamav
- influxdb
- telegraf
environment:
- _APP_ENV=development
- _APP_OPENSSL_KEY_V1=your-secret-key

View file

@ -5,7 +5,10 @@ services:
build: ../../
restart: unless-stopped
volumes:
- ./../../:/usr/share/nginx/html
- ./../../app:/usr/share/nginx/html/app
- ./../../public:/usr/share/nginx/html/public
- ./../../src:/usr/share/nginx/html/src
- ./../../vendor:/usr/share/nginx/html/vendor
- ./../../docker/nginx.conf:/etc/nginx/nginx.conf:rw
- ./../../storage/uploads:/storage/uploads:rw
- ./../../storage/cache:/storage/cache:rw