mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 20:30:58 -05:00
Fix database refusing to start
This commit is contained in:
parent
4daf56dcb4
commit
d3a5917bb9
@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
bot:
|
bot:
|
||||||
container_name: daggerbot-prod
|
container_name: daggerbot
|
||||||
build: .
|
build: .
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -6,15 +6,13 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 6379:6379/tcp
|
- 6379:6379/tcp
|
||||||
db:
|
db:
|
||||||
container_name: postgres-master
|
container_name: postgres
|
||||||
image: postgres:16.2-alpine3.19
|
image: postgres:16.2-alpine3.19
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432/tcp
|
- 5432:5432/tcp
|
||||||
volumes:
|
volumes:
|
||||||
- /var/lib/docker/volumes/daggerbot-db:/var/lib/postgresql/data:rw
|
- /var/lib/docker/volumes/daggerbot-db:/var/lib/postgresql/data:rw
|
||||||
- ./postgres-replica-stuff/configs/postgres-hba.conf:/var/lib/postgresql/data/pg_hba.conf:rw
|
|
||||||
- ./postgres-replica-stuff/configs/postgres.conf:/var/lib/postgresql/data/postgresql.conf:rw
|
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: ${POSTGRES_USER}
|
POSTGRES_USER: ${POSTGRES_USER}
|
||||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||||
|
Loading…
Reference in New Issue
Block a user