try out spliit
This commit is contained in:
@@ -9,6 +9,7 @@ include:
|
||||
- pihole/docker-compose.yml
|
||||
- pingvin/docker-compose.yml
|
||||
- pocketid/docker-compose.yml
|
||||
- spliit/docker-compose.yml
|
||||
- synapse/docker-compose.yml
|
||||
- updater/docker-compose.yml
|
||||
- vaultwarden/docker-compose.yml
|
||||
6
spliit/.env.example
Normal file
6
spliit/.env.example
Normal file
@@ -0,0 +1,6 @@
|
||||
# db
|
||||
POSTGRES_PASSWORD=
|
||||
|
||||
# app
|
||||
POSTGRES_PRISMA_URL=postgresql://postgres:${POSTGRES_PASSWORD}@db
|
||||
POSTGRES_URL_NON_POOLING=postgresql://postgres:${POSTGRES_PASSWORD}@db
|
||||
17
spliit/docker-compose.yml
Normal file
17
spliit/docker-compose.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
services:
|
||||
app:
|
||||
image: spliit2:1.15.0
|
||||
ports:
|
||||
- 3001:3000
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
db:
|
||||
image: postgres:17
|
||||
volumes:
|
||||
- ${SPLIIT_POSTGRES_DIR}:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ['CMD-SHELL', 'pg_isready -U postgres']
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
Reference in New Issue
Block a user