changed default network #1

Merged
rama merged 1 commits from testing into main 2023-11-26 12:15:04 +01:00

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"