first commit
This commit is contained in:
1
CentralDB
Submodule
1
CentralDB
Submodule
Submodule CentralDB added at 97b74861b8
1
DB_API_SPEC.json
Normal file
1
DB_API_SPEC.json
Normal file
File diff suppressed because one or more lines are too long
1
GarminSync
Submodule
1
GarminSync
Submodule
Submodule GarminSync added at b0aa585372
1
GarminSync_API_SPEC.json
Normal file
1
GarminSync_API_SPEC.json
Normal file
File diff suppressed because one or more lines are too long
1
LLMCoach
Submodule
1
LLMCoach
Submodule
Submodule LLMCoach added at c861dbe1ff
1
ReportGenerator
Submodule
1
ReportGenerator
Submodule
Submodule ReportGenerator added at cbe5c83300
0
Report_API_SPEC.json
Normal file
0
Report_API_SPEC.json
Normal file
1
WebUI
Submodule
1
WebUI
Submodule
Submodule WebUI added at b76a30f569
39
docker-compose.dev.yml
Normal file
39
docker-compose.dev.yml
Normal file
@@ -0,0 +1,39 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
backend:
|
||||
build:
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "8001:8001"
|
||||
volumes:
|
||||
- ./backend:/app
|
||||
environment:
|
||||
- API_PORT=8001
|
||||
- CENTRAL_DB_URL=http://central_db:8000
|
||||
command: uvicorn src.main:app --host 0.0.0.0 --port 8001 --reload
|
||||
depends_on:
|
||||
- central_db
|
||||
networks:
|
||||
- fittrack-network
|
||||
|
||||
central_db:
|
||||
build:
|
||||
context: ../FitTrack_CentralDB
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "8000:8000"
|
||||
environment:
|
||||
- GARMIN_CREDENTIALS_ENCRYPTION_KEY=_dbk9p2Rs2p6fx9fHD6x9wy_vr_t723JGhgzALIoE8E=
|
||||
volumes:
|
||||
- central_db_data:/app/data # Add this line to persist data
|
||||
networks:
|
||||
- fittrack-network
|
||||
|
||||
volumes:
|
||||
central_db_data: # Define the named volume
|
||||
|
||||
networks:
|
||||
fittrack-network:
|
||||
driver: bridge
|
||||
65
docker-compose.yml
Normal file
65
docker-compose.yml
Normal file
@@ -0,0 +1,65 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
garminsync:
|
||||
build:
|
||||
context: ./GarminSync/backend
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "8001:8001"
|
||||
volumes:
|
||||
- ./GarminSync/backend:/app
|
||||
environment:
|
||||
- API_PORT=8001
|
||||
- CENTRAL_DB_URL=http://central_db:8000
|
||||
command: uvicorn src.main:app --host 0.0.0.0 --port 8001 --reload
|
||||
depends_on:
|
||||
- central_db
|
||||
networks:
|
||||
- fittrack-network
|
||||
|
||||
reportgenerator:
|
||||
build:
|
||||
context: ./ReportGenerator
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "8002:8002"
|
||||
environment:
|
||||
- API_PORT=8001
|
||||
- CENTRAL_DB_URL=http://central_db:8000
|
||||
command: uvicorn src.main:app --host 0.0.0.0 --port 8002 --reload
|
||||
depends_on:
|
||||
- central_db
|
||||
networks:
|
||||
- fittrack-network
|
||||
|
||||
webui:
|
||||
build:
|
||||
context: WebUI/frontend
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "3000:80"
|
||||
depends_on:
|
||||
- central_db
|
||||
networks:
|
||||
- fittrack-network
|
||||
|
||||
central_db:
|
||||
build:
|
||||
context: ./CentralDB
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "8000:8000"
|
||||
environment:
|
||||
- GARMIN_CREDENTIALS_ENCRYPTION_KEY=_dbk9p2Rs2p6fx9fHD6x9wy_vr_t723JGhgzALIoE8E=
|
||||
volumes:
|
||||
- central_db_data:/app/data # Add this line to persist data
|
||||
networks:
|
||||
- fittrack-network
|
||||
|
||||
volumes:
|
||||
central_db_data: # Define the named volume
|
||||
|
||||
networks:
|
||||
fittrack-network:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user