Initial commit

This commit is contained in:
2025-11-29 16:59:02 -06:00
commit da4f051282
25 changed files with 1144 additions and 0 deletions

23
docker-compose.yml Normal file
View File

@@ -0,0 +1,23 @@
version: '3.8'
services:
postgres:
image: postgres:16-alpine
container_name: workout_tracker_db
restart: unless-stopped
environment:
POSTGRES_USER: workout_user
POSTGRES_PASSWORD: workout_pass
POSTGRES_DB: workout_tracker
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U workout_user -d workout_tracker"]
interval: 10s
timeout: 5s
retries: 5
volumes:
postgres_data: