File size: 626 Bytes
b7d1773
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: "3.9"

services:
  ftth-dashboard:
    build:
      context: .
      dockerfile: Dockerfile
    container_name: ftth-franca-dashboard
    ports:
      - "7860:7860"          # Acesso via http://localhost:7860
    environment:
      - DASH_DEBUG=false
    volumes:
      # Volume opcional: montar data local para actualizações sem rebuild
      - ./data_processed:/app/data_processed:ro
      - ./data_reports:/app/data_reports:ro
    restart: unless-stopped
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:7860/"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 20s