Add network v2

This commit is contained in:
2025-07-08 16:37:23 +05:30
parent e7fe411daf
commit 34ded33aeb
10 changed files with 73 additions and 8 deletions

View File

@@ -10,6 +10,8 @@ services:
- ${APPDATA_PATH}/vaultwarden/db:/var/lib/postgresql/data
ports:
- ${DB_PORT}:5432
networks:
- backend
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -d ${POSTGRES_DB} -U ${POSTGRES_USER}"]
@@ -38,4 +40,13 @@ services:
- ${APPDATA_PATH}/vaultwarden/data:/data/
ports:
- ${SERVER_PORT}:80
networks:
- frontend
- backend
restart: unless-stopped
networks:
frontend:
external: true
backend:
external: true