Stage 04.1 - storage foundation (PostgreSQL) and system dashboard UI

This commit is contained in:
2026-04-14 21:38:52 +03:00
parent 1deb676585
commit c35deeaefa
15 changed files with 657 additions and 90 deletions

View File

@@ -1,4 +1,22 @@
services:
postgres:
image: postgres:17
container_name: dzentra_postgres
restart: unless-stopped
environment:
POSTGRES_DB: dzentra_bot
POSTGRES_USER: dzentra_bot
POSTGRES_PASSWORD: change_me
ports:
- "5432:5432"
volumes:
- dzentra_postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U dzentra_bot -d dzentra_bot"]
interval: 5s
timeout: 3s
retries: 10
bot:
build:
context: ../..
@@ -7,3 +25,9 @@ services:
restart: unless-stopped
env_file:
- ../../app/.env
depends_on:
postgres:
condition: service_healthy
volumes:
dzentra_postgres_data: