mirror of
https://github.com/sstent/FitTrack_GarminSync.git
synced 2025-12-06 08:01:44 +00:00
feat: Initial commit of FitTrack_GarminSync project
This commit is contained in:
30
docker-compose.dev.yml
Normal file
30
docker-compose.dev.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
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:
|
||||
image: fittrack_centraldb_api
|
||||
ports:
|
||||
- "8000:8000"
|
||||
networks:
|
||||
- fittrack-network
|
||||
|
||||
networks:
|
||||
fittrack-network:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user