File size: 539 Bytes
b8e6434 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | version: "3.9"
services:
backend:
build: ./backend
command: uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
ports:
- "8000:8000"
volumes:
- ./backend:/app
environment:
- MERCADO_PUBLICO_TICKET=${MERCADO_PUBLICO_TICKET}
- GEMINI_API_KEY=${GEMINI_API_KEY}
frontend:
build:
context: ./frontend
command: npm run dev -- --hostname 0.0.0.0
ports:
- "3000:3000"
volumes:
- ./frontend:/app
environment:
- NEXT_PUBLIC_API_BASE=http://backend:8000
|