mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
Updates for volume mounts
This commit is contained in:
8
debian/docker-compose.yml
vendored
8
debian/docker-compose.yml
vendored
@@ -8,7 +8,7 @@ x-logging: &default-logging
|
||||
|
||||
services:
|
||||
app:
|
||||
image: invoiceninja/invoiceninja-debian:latest
|
||||
image: invoiceninja/invoiceninja-debian:latest
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- ./.env
|
||||
@@ -16,7 +16,7 @@ services:
|
||||
- ./.env:/var/www/html/.env
|
||||
- app_storage:/var/www/html/storage
|
||||
- app_cache:/var/www/html/bootstrap/cache
|
||||
- app_files:/var/www/html
|
||||
- image-public:/var/www/html/public:ro
|
||||
|
||||
networks:
|
||||
- app-network
|
||||
@@ -39,7 +39,7 @@ services:
|
||||
volumes:
|
||||
- ./nginx/conf.d:/etc/nginx/conf.d:ro
|
||||
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
- app_files:/var/www/html:ro
|
||||
- image-public:/var/www/html/public:ro
|
||||
|
||||
networks:
|
||||
- app-network
|
||||
@@ -107,5 +107,5 @@ volumes:
|
||||
driver: local
|
||||
redis_data:
|
||||
driver: local
|
||||
app_files:
|
||||
image-public: # This volume will get populated with the image's public directory
|
||||
driver: local
|
||||
|
||||
Reference in New Issue
Block a user