database and migrations

This commit is contained in:
Anton Martynenko
2025-10-28 11:07:07 +01:00
parent b9508137cb
commit f8d96ec40f
20 changed files with 471 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
services:
postgres:
image: postgres:16
container_name: satellite-provider-postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: satelliteprovider
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
volumes:
postgres_data: