Merge pull request 'changed default network' (#1) from testing into main

Reviewed-on: #1
This commit is contained in:
rama 2023-11-26 12:15:04 +01:00
commit 1ee5c5517e

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"