Files
sablier/plugins/nginx/e2e/docker_swarm/docker-stack.yml
Alexis Couvreur acfd612bc0 ci: fix pipelines (#418)
* ci: fix pipelines

* fix(proxywasm): bump to go 1.23 and tinygo 0.33

* ci: move to sablierapp/sablier

* ci: replace sablierapp/whoami with acouvreur/whoami

This will use mimic later

* fix wrong whoami image

* update nginx docker image for proxywasm
2024-10-23 18:13:56 -07:00

48 lines
1.1 KiB
YAML

version: '3.9'
services:
proxy:
image: nginx:1.23.1
ports:
- target: 80
published: 8080
protocol: tcp
mode: host # Won't work in github actions otherwise
volumes:
# Used to load js module
- ../nginx.conf:/etc/nginx/nginx.conf
- ../../njs/sablier.js:/etc/nginx/conf.d/sablier.js
- ./nginx.conf:/etc/nginx/conf.d/default.conf
sablier:
image: sablierapp/sablier:local
ports:
- 10000:10000
command:
- start
- --provider.name=swarm
- --logging.level=trace
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