This commit is contained in:
Peter Smit
2025-04-07 15:39:16 +02:00
parent 68ec5e133d
commit 1448a560b1
2 changed files with 4 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
# db
POSTGRES_PASSWORD=
SPLIIT_POSTGRES_DIR=
# app
POSTGRES_PRISMA_URL=postgresql://postgres:${POSTGRES_PASSWORD}@db

View File

@@ -1,12 +1,12 @@
services:
app:
spliit:
image: spliit2:1.15.0
ports:
- 3001:3000
depends_on:
db:
spliit_db:
condition: service_healthy
db:
spliit_db:
image: postgres:17
volumes:
- ${SPLIIT_POSTGRES_DIR}:/var/lib/postgresql/data