version: '3.8' services: quoteforge: build: . container_name: quoteforge restart: unless-stopped ports: - "8080:8080" volumes: - ./config.yaml:/app/config.yaml:ro environment: - TZ=Europe/Moscow healthcheck: test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/health"] interval: 30s timeout: 3s retries: 3 start_period: 5s quoteforge-cron: build: . container_name: quoteforge-cron restart: unless-stopped volumes: - ./config.yaml:/app/config.yaml:ro - ./logs:/app/logs command: /usr/sbin/crond -f -l 8 environment: - TZ=Europe/Moscow