1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-18 04:40:59 -05:00

Compare commits

..

1 Commits

Author SHA1 Message Date
Toast
9f6c6e6fc4
Merge e8bb291ffb into 4daf56dcb4 2024-03-19 05:57:18 +00:00
2 changed files with 7 additions and 5 deletions

View File

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

View File

@ -1,19 +1,21 @@
services:
cache:
container_name: daggerbot-redis
image: redis/redis-stack-server:7.2.0-v9
container_name: redis-cache
image: redis/redis-stack-server:7.2.0-v6
restart: unless-stopped
ports:
- 6379:6379/tcp
db:
container_name: daggerbot-postgres
container_name: postgres-master
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_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}