version: '3.8' services: backend: image: ievkz/cblt:latest networks: - app deploy: mode: replicated replicas: 3 labels: - "cblt.hosts=domain.org" - "cblt.path=/api/*" - "cblt.port=9000" - "cblt.secrets=domain.org secret_key_org_2024 secret_cert_org_2024" - "cblt.lb_policy=round_robin" - "cblt.lb_interval=60s" - "cblt.lb_timeout=1s" - "cblt.lb_retries=2" restart_policy: condition: on-failure ports: - "80:80" networks: app: external: true