Connect local SXCHNGE to the Sendico stand
This commit was merged in pull request #53.
This commit is contained in:
1 parent
34d8ef18d1
commit
a5689876ff
14 files changed
+336
-9
No files matched your search
@@ -0,0 +1,30 @@
|
||||
# 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
|
||||
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/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:
|
||||
Reference in new issue
Block a user