Spaces:
No application file
No application file
File size: 750 Bytes
9a16769 | 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 36 37 38 39 40 | version: '3.9'
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: navsim-backend
restart: unless-stopped
ports:
- "3001:3001"
environment:
- PORT=3001
- HF_TOKEN=${HF_TOKEN}
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:3001/api/health"]
interval: 15s
timeout: 5s
retries: 3
networks:
- navsim-net
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: navsim-frontend
restart: unless-stopped
ports:
- "80:80"
depends_on:
backend:
condition: service_healthy
networks:
- navsim-net
networks:
navsim-net:
driver: bridge
|