Move storage locations to {VOLUME_PATH}/{COMPOSE_STACK_NAME}/{SERVICE_NAME} schema
This commit is contained in:
parent
922b97710f
commit
23903d003d
5 changed files with 19 additions and 19 deletions
|
@ -5,7 +5,7 @@ services:
|
|||
depends_on:
|
||||
- app
|
||||
volumes:
|
||||
- ${VOLUMES_PATH}/nextcloud_html:/var/www/html:ro
|
||||
- ${VOLUMES_PATH}/nextcloud/html:/var/www/html:ro
|
||||
- $PWD/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
|
@ -34,8 +34,8 @@ services:
|
|||
args:
|
||||
- NC_MAIN_VERSION=${NC_MAIN_VERSION}
|
||||
volumes:
|
||||
- ${VOLUMES_PATH}/nextcloud_html:/var/www/html
|
||||
- ${VOLUMES_PATH}/nextcloud_data:/var/www/html/data
|
||||
- ${VOLUMES_PATH}/nextcloud/html:/var/www/html
|
||||
- ${VOLUMES_PATH}/nextcloud/data:/var/www/html/data
|
||||
- type: tmpfs
|
||||
target: /tmp
|
||||
restart: unless-stopped
|
||||
|
@ -66,8 +66,8 @@ services:
|
|||
networks:
|
||||
- nextcloud
|
||||
volumes:
|
||||
- ${VOLUMES_PATH}/nextcloud_html:/var/www/html
|
||||
- ${VOLUMES_PATH}/nextcloud_data:/var/www/html/data
|
||||
- ${VOLUMES_PATH}/nextcloud/html:/var/www/html
|
||||
- ${VOLUMES_PATH}/nextcloud/data:/var/www/html/data
|
||||
# If I mount my crontab into the container crond is not working any more :(
|
||||
# docker log should print 11110001 lines
|
||||
# https://github.com/nextcloud/docker/issues/1775
|
||||
|
@ -91,8 +91,8 @@ services:
|
|||
- web
|
||||
- nextcloud
|
||||
volumes:
|
||||
- ${VOLUMES_PATH}/nextcloud_html:/var/www/html:ro
|
||||
- ${VOLUMES_PATH}/nextcloud_data:/var/www/html/data:ro
|
||||
- ${VOLUMES_PATH}/nextcloud/html:/var/www/html:ro
|
||||
- ${VOLUMES_PATH}/nextcloud/data:/var/www/html/data:ro
|
||||
environment:
|
||||
- PORT=7867
|
||||
- NEXTCLOUD_URL=http://web
|
||||
|
@ -113,7 +113,7 @@ services:
|
|||
image: mariadb:10
|
||||
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --skip-innodb-read-only-compressed
|
||||
volumes:
|
||||
- ${VOLUMES_PATH}/nextcloud_db:/var/lib/mysql
|
||||
- ${VOLUMES_PATH}/nextcloud/db:/var/lib/mysql
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PUID=1000
|
||||
|
@ -165,7 +165,7 @@ services:
|
|||
- nextcloud
|
||||
- monitoring
|
||||
volumes:
|
||||
- ${VOLUMES_PATH}/nextcloud_redis:/data
|
||||
- ${VOLUMES_PATH}/nextcloud/redis:/data
|
||||
labels:
|
||||
- "docker.group=netxtcloud"
|
||||
|
||||
|
@ -205,7 +205,7 @@ services:
|
|||
networks:
|
||||
- nextcloud
|
||||
volumes:
|
||||
- ${VOLUMES_PATH}/nextcloud_fonts:/usr/share/fonts/drawio
|
||||
- ${VOLUMES_PATH}/nextcloud/fonts:/usr/share/fonts/drawio
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "docker.group=netxtcloud"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue