moving to postgres, part 1

This commit is contained in:
2025-09-17 17:51:22 +02:00
parent 8f87908505
commit 223add151c
19 changed files with 425 additions and 290 deletions

View File

@@ -9,12 +9,26 @@ services:
- ./db/redis:/data
environment:
- VALKEY_EXTRA_FLAGS=--save 60 1
pocketbase:
container_name: qweribot-pocketbase
build:
context: ./pocketbase
# pocketbase:
# container_name: qweribot-pocketbase
# build:
# context: ./pocketbase
# ports:
# - 8090:8090
# restart: no
# volumes:
# - ./db/pocketbase:/pb/pb_data
postgres:
container_name: postgres
image: postgres:latest
restart: unless-stopped
env_file:
- .env.development
# environment:
# POSTGRES_USER: $$POSTGRES_USER
# POSTGRES_PASSWORD: $$POSTGRES_PASSWORD
# POSTGRES_DB: $$POSTGRES_DB
ports:
- 8090:8090
restart: no
- "5432:5432"
volumes:
- ./db/pocketbase:/pb/pb_data
- ./db/postgresql:/var/lib/postgresql/data