2023-10-02 18:40:03 -04:00
|
|
|
services:
|
|
|
|
cache:
|
|
|
|
container_name: redis-cache
|
2023-12-24 10:21:40 -05:00
|
|
|
image: redis/redis-stack-server:7.2.0-v6
|
2023-10-02 18:53:59 -04:00
|
|
|
restart: unless-stopped
|
2023-10-02 18:40:03 -04:00
|
|
|
ports:
|
2023-12-24 10:21:40 -05:00
|
|
|
- 6379:6379/tcp
|
|
|
|
db:
|
2024-01-27 03:21:22 -05:00
|
|
|
container_name: postgres-master
|
2024-02-13 01:40:19 -05:00
|
|
|
image: postgres:16.2-alpine3.19
|
2023-12-24 10:21:40 -05:00
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- 5432:5432/tcp
|
|
|
|
volumes:
|
|
|
|
- /var/lib/docker/volumes/daggerbot-db:/var/lib/postgresql/data:rw
|
2024-01-27 03:21:22 -05:00
|
|
|
- ./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
|
2023-12-24 10:21:40 -05:00
|
|
|
environment:
|
2024-01-06 02:05:56 -05:00
|
|
|
POSTGRES_USER: ${POSTGRES_USER}
|
|
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
|
|
|
POSTGRES_DB: ${POSTGRES_DB}
|