init
This commit is contained in:
commit
8e4f4a989c
35
compose.yml
Normal file
35
compose.yml
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user