Add shared postgres (wip)
This commit is contained in:
24
spliit/docker-compose.updated.yml
Normal file
24
spliit/docker-compose.updated.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
services:
|
||||
spliit:
|
||||
image: ghcr.io/spliit-app/spliit:1.18.0
|
||||
restart: always
|
||||
ports:
|
||||
- 3001:3000
|
||||
depends_on:
|
||||
shared-postgres:
|
||||
condition: service_healthy
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
TZ: ${TZ}
|
||||
POSTGRES_HOST: shared-postgres
|
||||
POSTGRES_PORT: 5432
|
||||
POSTGRES_DB: ${SPLIIT_POSTGRES_DB}
|
||||
POSTGRES_USER: ${SPLIIT_POSTGRES_USER}
|
||||
POSTGRES_PASSWORD: ${SPLIIT_POSTGRES_PASSWORD}
|
||||
networks:
|
||||
- postgres-network
|
||||
|
||||
networks:
|
||||
postgres-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user