name: rendiciones services: rendiciones: build: context: . dockerfile: Dockerfile image: rendiciones:latest container_name: rendiciones-server ports: - "5500:5000" environment: - FLASK_ENV=production - PYTHONUNBUFFERED=1 - TZ=America/Santiago volumes: - /home/shironeko/Documents/dockerVols/rendiciones/db:/app/db - /home/shironeko/Documents/dockerVols/rendiciones/static/cache:/app/static/cache restart: unless-stopped healthcheck: test: ["CMD", "curl", "-fsS", "http://localhost:5000/"] interval: 30s timeout: 5s retries: 3 start_period: 10s