This repository has been archived by the owner on Sep 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
64 lines (58 loc) · 1.56 KB
/
docker-compose.yml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
version: '3.8'
services:
pki:
image: ghcr.io/wirepact/k8s-pki:latest
environment:
- DEBUG=true
- LOCAL=true
ports:
- 8080:8080
oidc-provider:
image: ghcr.io/wirepact/demo-applications/oidc-provider:latest
environment:
- PORT=9090
- ISSUER=http://host.docker.internal:9090
ports:
- 9090:9090
app:
image: ghcr.io/wirepact/demo-applications/oidc-app:latest
environment:
- HTTP_PROXY=http://envoy-app:8500
- PORT=8001
- NEXTAUTH_URL=http://host.docker.internal:8000
- OIDC_ISSUER=http://host.docker.internal:9090
- OIDC_CLIENT_ID=wirepact
- OIDC_CLIENT_SECRET=secret
- API_URL=http://envoy-api:9000/swapi/people
networks:
- app-net
envoy-app:
image: envoyproxy/envoy:v1.22-latest
command: envoy -c /etc/envoy/envoy.yaml --component-log-level ext_authz:trace
volumes:
- ./hack/envoy-config.app.yaml:/etc/envoy/envoy.yaml:ro
networks:
- app-net
ports:
- 8000:8000
api:
image: ghcr.io/wirepact/demo-applications/oidc-api:latest
environment:
- PORT=9001
- OIDC__ISSUER=http://host.docker.internal:9090
- OIDC__CLIENTID=wirepact
- OIDC__CLIENTSECRET=secret
networks:
- app-net
envoy-api:
image: envoyproxy/envoy:v1.22-latest
command: envoy -c /etc/envoy/envoy.yaml --component-log-level ext_authz:trace
volumes:
- ./hack/envoy-config.api.yaml:/etc/envoy/envoy.yaml:ro
networks:
- app-net
ports:
- 9000:9000
networks:
app-net:
driver: bridge