mirror of
https://github.com/sablierapp/sablier.git
synced 2025-12-21 13:23:03 +01:00
* fix(provider): add debug logging Add a bunch of debug logging calls * return a swarm service pointer * revert to service list with status true * change trace to debug * --no-verify
46 lines
1010 B
YAML
46 lines
1010 B
YAML
version: "3.7"
|
|
|
|
services:
|
|
proxy:
|
|
image: caddy:local
|
|
ports:
|
|
- target: 80
|
|
published: 8080
|
|
protocol: tcp
|
|
mode: host # Won't work in github actions otherwise
|
|
volumes:
|
|
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
|
deploy:
|
|
restart_policy:
|
|
condition: none # Do not restart on setup failure
|
|
|
|
sablier:
|
|
image: sablierapp/sablier:local
|
|
command:
|
|
- start
|
|
- --provider.name=swarm
|
|
- --logging.level=debug
|
|
volumes:
|
|
- '/var/run/docker.sock:/var/run/docker.sock'
|
|
|
|
whoami:
|
|
image: acouvreur/whoami:v1.10.2
|
|
healthcheck:
|
|
test: [ "CMD", "curl", "-f", "http://localhost" ]
|
|
interval: 5s
|
|
deploy:
|
|
labels:
|
|
- sablier.enable=true
|
|
- sablier.group=E2E
|
|
replicas: 0
|
|
|
|
nginx:
|
|
image: nginx:1.23.1
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost"]
|
|
interval: 5s
|
|
deploy:
|
|
labels:
|
|
- sablier.enable=true
|
|
- sablier.group=E2E
|
|
replicas: 0 |