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
78 lines (72 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
version: '3.8'
services:
oidc-provider:
build:
context: ./oidc_provider
environment:
- ISSUER=http://host.docker.internal:3001
- PORT=3001
ports:
- 3001:3001
oidc-app:
build:
context: ./oidc_app
environment:
- OIDC_ISSUER=http://host.docker.internal:3001/
- OIDC_CLIENT_ID=wire-pact
- OIDC_CLIENT_SECRET=demo-oidc-provider
- API_URL=http://oidc-api:5000/swapi/people
networks:
- app-net
ports:
- 3000:3000
oidc-api:
build:
context: ./oidc_api
environment:
- PORT=5000
- OIDC__ISSUER=http://host.docker.internal:3001/
- OIDC__CLIENTID=wire-pact
- OIDC__CLIENTSECRET=demo-oidc-provider
networks:
- app-net
ports:
- 5000:5000
basic-auth-api:
build:
context: ./basic_auth_api
environment:
- PORT=8000
- AUTH_USERNAME=api
- AUTH_PASSWORD=supersecret
networks:
- app-net
ports:
- 8000:8000
basic-auth-app:
build:
context: ./basic_auth_app
environment:
- PORT=8080
- AUTH_USER=api
- AUTH_PASS=supersecret
- API_URL=http://host.docker.internal:8000/swapi/people
networks:
- app-net
ports:
- 8080:8080
basic-auth-backend-app:
build:
context: ./basic_auth_backend_app
environment:
- PORT=8090
- AUTH_USER=api
- AUTH_PASS=supersecret
- API_URL=http://host.docker.internal:8000/swapi/people
networks:
- app-net
ports:
- 8090:8090
networks:
app-net:
driver: bridge