|
|
@ -13,6 +13,9 @@ services: |
|
|
|
volumes: |
|
|
|
volumes: |
|
|
|
- ${LOCAL_STACK_DIR}/nextcloud/data:/var/www/html |
|
|
|
- ${LOCAL_STACK_DIR}/nextcloud/data:/var/www/html |
|
|
|
- /etc/timezone:/etc/timezone:ro |
|
|
|
- /etc/timezone:/etc/timezone:ro |
|
|
|
|
|
|
|
networks: |
|
|
|
|
|
|
|
- default |
|
|
|
|
|
|
|
- nextcloud |
|
|
|
env_file: |
|
|
|
env_file: |
|
|
|
- nextcloud.env |
|
|
|
- nextcloud.env |
|
|
|
- nc_db.env |
|
|
|
- nc_db.env |
|
|
@ -25,6 +28,8 @@ services: |
|
|
|
restart: ${DB_RESTART:-unless-stopped} |
|
|
|
restart: ${DB_RESTART:-unless-stopped} |
|
|
|
volumes: |
|
|
|
volumes: |
|
|
|
- ${LOCAL_STACK_DIR}/db/data:/var/lib/mysql |
|
|
|
- ${LOCAL_STACK_DIR}/db/data:/var/lib/mysql |
|
|
|
|
|
|
|
networks: |
|
|
|
|
|
|
|
- nextcloud |
|
|
|
env_file: |
|
|
|
env_file: |
|
|
|
- nc_db.env |
|
|
|
- nc_db.env |
|
|
|
environment: |
|
|
|
environment: |
|
|
@ -34,3 +39,5 @@ networks: |
|
|
|
default: |
|
|
|
default: |
|
|
|
external: |
|
|
|
external: |
|
|
|
name: ${NETWORK} |
|
|
|
name: ${NETWORK} |
|
|
|
|
|
|
|
nextcloud: |
|
|
|
|
|
|
|
external: false |
|
|
|