This commit is contained in:
2026-07-16 09:53:14 +07:00
parent 0fc112a2e8
commit 29cec708a3
1236 changed files with 212848 additions and 0 deletions

25
docker-compose.yml Normal file
View File

@@ -0,0 +1,25 @@
services:
postgres:
image: postgres:16
container_name: postgres16
restart: unless-stopped
environment:
POSTGRES_DB: training_system
POSTGRES_USER: postgres
POSTGRES_PASSWORD: admin1234
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres -d mydatabase"]
interval: 10s
timeout: 5s
retries: 5
volumes:
postgres_data: