add alembic and store metrics at db

This commit is contained in:
2026-02-10 16:19:56 +04:00
parent f2a9520410
commit 3ff4b61492
17 changed files with 532 additions and 34 deletions

12
alembic/compose.yaml Normal file
View File

@@ -0,0 +1,12 @@
version: "3.9"
services:
db:
image: postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
volumes:
- ./postgres_data:/var/lib/postgresql
ports:
- "5432:5432"