This commit is contained in:
Kyattsukuro 2026-01-12 23:09:36 +01:00
commit 8e4f4a989c

35
compose.yml Normal file
View File

@ -0,0 +1,35 @@
services:
spliit:
build:
context: https://github.com/spliit-app/spliit.git#1.19.1
dockerfile: Dockerfile
image: spliit:1.19.1
environment:
POSTGRES_PRISMA_URL: "postgresql://postgres:${POSTGRES_PASSWORD}@spliit_db"
POSTGRES_URL_NON_POOLING: "postgresql://postgres:${POSTGRES_PASSWORD}@spliit_db"
depends_on:
- spliit_db
networks:
- db
- proxy
spliit_db:
image: postgres:15.15
environment:
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
volumes:
- data:/var/lib/postgresql/data
networks:
- db
restart: always
volumes:
data:
networks:
db:
proxy:
name: nginx-proxy_default
external: true