version: '3.8' services: resume: build: . container_name: resume-platform restart: unless-stopped ports: - "8090:8090" volumes: - ./data:/app/data - ./logs:/app/logs - ./config:/app/config:ro - ./static:/app/static:ro environment: - TZ=Asia/Shanghai - GIN_MODE=release healthcheck: test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8090/"] interval: 30s timeout: 3s retries: 3 start_period: 5s networks: - resume-network networks: resume-network: driver: bridge