35 lines
704 B
YAML
35 lines
704 B
YAML
|
|
|
|
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 |