File size: 572 Bytes
d77e086 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | version: '3.8'
services:
backend:
build:
context: .
dockerfile: docker/Dockerfile.backend
ports:
- "8000:8000"
volumes:
- .:/app
environment:
- GEMINI_API_KEY=${GEMINI_API_KEY}
networks:
- data-net
frontend:
build:
context: .
dockerfile: docker/Dockerfile.frontend
ports:
- "8501:8501"
volumes:
- .:/app
environment:
- API_BASE_URL=http://backend:8000/api/v1
depends_on:
- backend
networks:
- data-net
networks:
data-net:
driver: bridge
|