commit 8e4f4a989c337da283eba84c6b69b8705cffd125 Author: Kyattsukuro Date: Mon Jan 12 23:09:36 2026 +0100 init diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..9f722e6 --- /dev/null +++ b/compose.yml @@ -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 \ No newline at end of file