changed default network

This commit is contained in:
Raphael Martin 2023-11-26 12:14:22 +01:00
parent 08e6e1526c
commit 45e560f350

View File

@ -1,11 +1,12 @@
version: '1'
networks:
default:
name: "${TRAEFIK_NETWORK}"
external: true
db:
name: "${PROJECT_NAME}_planka_db_net"
external: false
traefik:
name: "${TRAEFIK_NETWORK}"
external: true
services:
planka:
container_name: "${PROJECT_NAME}_planka"
@ -25,7 +26,7 @@ services:
- "${PROJECT_DATA}/${PROJECT_NAME}-planka/planka/project-background-images:/app/public/project-background-images"
- "${PROJECT_DATA}/${PROJECT_NAME}-planka/planka/attachments:/app/private/attachments"
networks:
- "db"
- "traefik"
environment:
- "BASE_URL=https://${PROJECT_URL}"
- "TRUST_PROXY=0"
@ -52,8 +53,6 @@ services:
container_name: "${PROJECT_NAME}_planka_db"
image: "postgres:alpine"
restart: "unless-stopped"
networks:
- "db"
labels:
# Watchtower add to auto update
- "com.centurylinklabs.watchtower.enable=true"