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

[CloudCeT] Fix network conf

parent ee021fe4
No related branches found
No related tags found
No related merge requests found
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
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