services: web: image: nginx:alpine container_name: smartapp-web restart: unless-stopped networks: - traefik-public volumes: - /home/eric/smart-city-digital-twin-martinique/smart-app-city/frontend/dist:/usr/share/nginx/html labels: - "traefik.enable=false" expose: - "80" api: build: context: ./backend/auth-service dockerfile: Dockerfile container_name: smartapp-api restart: unless-stopped networks: - traefik-public volumes: - /home/eric/smart-city-digital-twin-martinique/smart-app-city/backend/auth-service/users.json:/app/users.json expose: - "3001" healthcheck: test: ["CMD", "wget", "-qO-", "http://localhost:3001/health"] interval: 10s timeout: 5s retries: 3 networks: traefik-public: external: true