Add shared postgres (wip)

This commit is contained in:
Peter Smit
2025-09-26 11:37:14 +02:00
parent 8ae7ba2c7f
commit 0d20dc3153
10 changed files with 439 additions and 15 deletions

View File

@@ -0,0 +1,24 @@
services:
spliit:
image: ghcr.io/spliit-app/spliit:1.18.0
restart: always
ports:
- 3001:3000
depends_on:
shared-postgres:
condition: service_healthy
env_file:
- .env
environment:
TZ: ${TZ}
POSTGRES_HOST: shared-postgres
POSTGRES_PORT: 5432
POSTGRES_DB: ${SPLIIT_POSTGRES_DB}
POSTGRES_USER: ${SPLIIT_POSTGRES_USER}
POSTGRES_PASSWORD: ${SPLIIT_POSTGRES_PASSWORD}
networks:
- postgres-network
networks:
postgres-network:
external: true