Files
sablier/plugins/proxywasm/e2e/nginx/docker/compose.yaml
2024-09-10 23:26:39 -04:00

37 lines
832 B
YAML

services:
reverseproxy:
build:
context: ..
dockerfile: Dockerfile
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- ../../../sablierproxywasm.wasm:/wasm/sablierproxywasm.wasm
ports:
- "8080:8080"
sablier:
image: acouvreur/sablier:local
command:
- start
- --provider.name=docker
- --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
labels:
- sablier.enable=true
- sablier.group=E2E
nginx:
image: nginx:1.27.1
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost"]
interval: 5s
labels:
- sablier.enable=true
- sablier.group=E2E