feat(dc): move postgres to external db
This commit is contained in:
parent
84e53248cb
commit
60456872c3
1 changed files with 0 additions and 18 deletions
|
@ -20,25 +20,7 @@ services:
|
||||||
- "traefik.http.services.spliit.loadbalancer.server.port=${DC_SPLIIT_PORT:?}"
|
- "traefik.http.services.spliit.loadbalancer.server.port=${DC_SPLIIT_PORT:?}"
|
||||||
networks:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
- spliit
|
|
||||||
|
|
||||||
db:
|
|
||||||
image: postgres:17.5@sha256:6efd0df010dc3cb40d5e33e3ef84acecc5e73161bd3df06029ee8698e5e12c60
|
|
||||||
environment:
|
|
||||||
- TZ=Europe/Zurich
|
|
||||||
- POSTGRES_DB=${DC_SPLIIT_POSTGRES_DB:-spliit}
|
|
||||||
- POSTGRES_USER=${DC_SPLIIT_POSTGRES_USER:-spliit}
|
|
||||||
- POSTGRES_PASSWORD=${DC_SPLIIT_POSTGRES_PASS:?}
|
|
||||||
volumes:
|
|
||||||
- postgres:/var/lib/postgresql/data
|
|
||||||
restart: always
|
|
||||||
networks:
|
|
||||||
- spliit
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
traefik:
|
traefik:
|
||||||
external: true
|
external: true
|
||||||
spliit:
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
postgres:
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue