diff --git a/docker-compose.bot.yml b/docker-compose.bot.yml index 93285ee..6e6197c 100644 --- a/docker-compose.bot.yml +++ b/docker-compose.bot.yml @@ -1,6 +1,6 @@ services: bot: - container_name: daggerbot-prod + container_name: daggerbot build: . restart: unless-stopped volumes: diff --git a/docker-compose.yml b/docker-compose.yml index f25b3a0..fc3cfb4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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}