feat: Initial commit of FitTrack_GarminSync project

This commit is contained in:
2025-10-10 12:20:48 -07:00
parent d0e29fbeb4
commit 18f9f6fa18
229 changed files with 21035 additions and 42 deletions

View File

@@ -0,0 +1,29 @@
version: '3.8'
services:
backend:
extends:
file: docker-compose.yml
service: backend
command: pytest -v tests/
environment:
- DATABASE_URL=postgresql://garmin:sync@db_test/garminsync_test
- TESTING=True
db_test:
image: postgres:15-alpine
volumes:
- postgres_test_data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=garmin
- POSTGRES_PASSWORD=sync
- POSTGRES_DB=garminsync_test
networks:
- garmin-net
volumes:
postgres_test_data:
networks:
garmin-net:
external: true

View File

@@ -0,0 +1,12 @@
services:
garminsync:
build:
context: ..
dockerfile: Dockerfile
# Removed entrypoint to rely on Dockerfile configuration
volumes:
- ../data:/app/data # Persistent storage for SQLite database
ports:
- "8888:8888"
env_file:
- ../.env # Use the root .env file