# Enabled by make sendico; settings contain no credentials. services: bff: environment: SXCHNGE_SENDICO_LOCAL: '1' volumes: - ./.local/dev/sendico/runtime.yml:/etc/sxchnge/bff.yml:ro - sendico-session:/run/sendico:ro sendico: image: sxchnge-local/tools:dev restart: unless-stopped # Keep the adapter's loopback-only HTTP rule; forward to the public stand API. network_mode: service:bff depends_on: bff: {condition: service_started, restart: true} entrypoint: [/bin/sh, /etc/sendico/session.sh] env_file: ./.local/dev/sendico/settings.env volumes: - ./infra/local/sendico/session.sh:/etc/sendico/session.sh:ro - ./infra/local/sendico/network.sh:/etc/sendico/network.sh:ro - ./infra/local/sendico/check.sh:/etc/sendico/check.sh:ro - ./.local/dev/agents/sendico:/etc/agent:ro - sendico-session:/run/sendico tmpfs: [/private:mode=0700] healthcheck: test: [CMD-SHELL, 'test -f /private/ready && test $$(($$(date +%s) - $$(stat -c %Y /private/ready))) -lt 1500 && curl -fsS --max-time 2 http://127.0.0.1:18081/api/v1/health >/dev/null'] interval: 10s timeout: 3s retries: 30 volumes: sendico-session: