1
0
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:
toast-ts 2024-03-19 20:07:06 +11:00
parent 4daf56dcb4
commit d3a5917bb9
2 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,6 @@
services:
bot:
container_name: daggerbot-prod
container_name: daggerbot
build: .
restart: unless-stopped
volumes:

View File

@ -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}