Complete backend verification: fix syntax errors, create __init__.py files, add setup_db.py, update docker-compose for two PostgreSQL containers

This commit is contained in:
2026-07-18 23:02:44 +00:00
parent 3a70feaba5
commit 02ef8e36bc
27 changed files with 687 additions and 121 deletions
+4 -4
View File
@@ -4,15 +4,15 @@ services:
postgres:
image: postgres:14-alpine
environment:
POSTGRES_DB: cockatrice
POSTGRES_USER: cockatrice_user
POSTGRES_PASSWORD: cockatrice_password
POSTGRES_DB: mtgonline
POSTGRES_USER: mtgonline_user
POSTGRES_PASSWORD: mtgonline_password
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U cockatrice_user"]
test: ["CMD-SHELL", "pg_isready -U mtgonline_user"]
interval: 10s
timeout: 5s
retries: 5