-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yaml
41 lines (41 loc) · 1006 Bytes
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
services:
envoy:
image: envoyproxy/envoy:v1.20-latest
depends_on:
- limitador
- upstream
- wasm-server
command:
- /usr/local/bin/envoy
- --config-path
- /etc/envoy.yaml
- --log-level
- info
- --component-log-level
- wasm:debug,http:debug,router:debug
- --service-cluster
- proxy
expose:
- "80"
- "8001"
ports:
- "18000:80"
- "18001:8001"
volumes:
- ./utils/docker-compose/envoy.yaml:/etc/envoy.yaml
- ./target/wasm32-unknown-unknown/release/wasm_shim.wasm:/opt/kuadrant/wasm/wasm_shim.wasm
wasm-server:
image: wasm-server:dev
expose:
- "80"
limitador:
image: quay.io/kuadrant/limitador:latest
command: ["limitador-server", "-vvv", "/opt/kuadrant/limits/limits.yaml"]
expose:
- "8080"
- "8081"
volumes:
- ./utils/docker-compose/limits.yaml:/opt/kuadrant/limits/limits.yaml
upstream:
image: kennethreitz/httpbin