services: pedrito: build: . restart: unless-stopped env_file: .env ports: - "8080:8080" # health check (y webhook si está configurado) volumes: - ./data:/app/data # snapshot y DB persistentes entre reinicios healthcheck: test: ["CMD", "curl", "-sf", "http://localhost:8080/health"] interval: 60s timeout: 5s retries: 3 start_period: 15s logging: driver: "json-file" options: max-size: "10m" max-file: "3"