diff --git a/pica-nextcloud/docker-compose-cet.yml b/pica-nextcloud/docker-compose-cet.yml index c0886b0431e0153853e67b5ff4f40debc689390b..2ad1b4af6582ac875062d60c06155be03b8d6855 100644 --- a/pica-nextcloud/docker-compose-cet.yml +++ b/pica-nextcloud/docker-compose-cet.yml @@ -1,9 +1,8 @@ version: '3.7' networks: + nextcloud_cet: docker_default: name: docker_default - cloud_cet: - name: cloud_cet volumes: nextcloud_cet: @@ -16,7 +15,7 @@ services: container_name: cloudcet image: nextcloud:19.0-fpm networks: - - cloud_cet + - nextcloud_cet volumes: - nextcloud_cet:/var/www/html env_file: ./secrets/cloudcet.secrets @@ -24,7 +23,6 @@ services: - POSTGRES_HOST=cloudcet_db depends_on: - cloudcet_db - - cloudcet_web restart: unless-stopped cloudcet_web: @@ -34,15 +32,15 @@ services: - nextcloud_cet:/var/www/html:ro - ./nginx_cet.conf:/etc/nginx/nginx.conf:ro env_file: ./secrets/cloudcet.secrets - ports: - - 2002:80 labels: - "traefik.frontend.rule=Host:cloudcet.picasoft.net" - "traefik.port=80" - "traefik.enable=true" networks: - docker_default - - cloud_cet + - nextcloud_cet + depends_on: + - cloudcet restart: unless-stopped cloudcet_db: @@ -52,5 +50,5 @@ services: - nextcloud_cet_db:/var/lib/postgresql/data env_file: ./secrets/cloudcet.secrets networks: - - cloud_cet + - nextcloud_cet restart: unless-stopped