Skip to content
Snippets Groups Projects
Commit 310e642d authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

[NC] Fix secrets paths and bump to v18

parent 8fbc8c90
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,9 @@ version: '3.7' ...@@ -2,7 +2,9 @@ version: '3.7'
volumes: volumes:
nextcloud-db: nextcloud-db:
name: docker_nextcloud-db
nextcloud: nextcloud:
name: docker_nextcloud
networks: networks:
nextcloud: nextcloud:
...@@ -11,15 +13,14 @@ networks: ...@@ -11,15 +13,14 @@ networks:
services: services:
nextcloud-app: nextcloud-app:
image: nextcloud:17.0.1-fpm-alpine image: nextcloud:18.0.7-fpm-alpine
container_name: nextcloud-app container_name: nextcloud-app
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- nextcloud:/var/www/html - nextcloud:/var/www/html
environment: environment:
- MYSQL_HOST=nextcloud-db - MYSQL_HOST=nextcloud-db
env_file: env_file: ./secrets/pica.secrets
- /DATA/docker/secrets/nextcloud-db.secrets
depends_on: depends_on:
- nextcloud-db - nextcloud-db
networks: networks:
...@@ -32,7 +33,7 @@ services: ...@@ -32,7 +33,7 @@ services:
volumes: volumes:
- nextcloud:/var/www/html:ro - nextcloud:/var/www/html:ro
- ./nginx.conf:/etc/nginx/nginx.conf:ro - ./nginx.conf:/etc/nginx/nginx.conf:ro
env_file: ./pica.secrets env_file: ./secrets/pica.secrets
depends_on: depends_on:
- nextcloud-app - nextcloud-app
networks: networks:
...@@ -55,4 +56,4 @@ services: ...@@ -55,4 +56,4 @@ services:
- nextcloud-db:/var/lib/mysql - nextcloud-db:/var/lib/mysql
networks: networks:
- nextcloud - nextcloud
env_file: ./pica.secrets env_file: ./secrets/pica.secrets
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment