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

Compare commits

...

4 Commits

Author SHA1 Message Date
Toast
a716b89571
Merge e8bb291ffb into a7802e5e78 2024-03-19 20:25:49 +11:00
toast-ts
a7802e5e78 Remove unused variable in Postgres 2024-03-19 20:13:21 +11:00
toast-ts
393df911c4 Update image for Redis container and fix naming 2024-03-19 20:10:54 +11:00
toast-ts
d3a5917bb9 Fix database refusing to start 2024-03-19 20:07:06 +11:00
2 changed files with 5 additions and 7 deletions

View File

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

View File

@ -1,21 +1,19 @@
services: services:
cache: cache:
container_name: redis-cache container_name: daggerbot-redis
image: redis/redis-stack-server:7.2.0-v6 image: redis/redis-stack-server:7.2.0-v9
restart: unless-stopped restart: unless-stopped
ports: ports:
- 6379:6379/tcp - 6379:6379/tcp
db: db:
container_name: postgres-master container_name: daggerbot-postgres
image: postgres:16.2-alpine3.19 image: postgres:16.2-alpine3.19
restart: unless-stopped restart: unless-stopped
ports: ports:
- 5432:5432/tcp - 5432:5432/tcp
volumes: volumes:
- /var/lib/docker/volumes/daggerbot-db:/var/lib/postgresql/data:rw - /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: environment:
POSTGRES_USER: ${POSTGRES_USER} #POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB} POSTGRES_DB: ${POSTGRES_DB}