mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 16:30:58 -05:00
Fix database refusing to start
This commit is contained in:
parent
4daf56dcb4
commit
d3a5917bb9
@ -1,6 +1,6 @@
|
||||
services:
|
||||
bot:
|
||||
container_name: daggerbot-prod
|
||||
container_name: daggerbot
|
||||
build: .
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
|
@ -6,15 +6,13 @@ services:
|
||||
ports:
|
||||
- 6379:6379/tcp
|
||||
db:
|
||||
container_name: postgres-master
|
||||
container_name: postgres
|
||||
image: postgres:16.2-alpine3.19
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 5432:5432/tcp
|
||||
volumes:
|
||||
- /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:
|
||||
POSTGRES_USER: ${POSTGRES_USER}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
|
Loading…
Reference in New Issue
Block a user