-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
46 lines (42 loc) · 924 Bytes
/
docker-compose.yaml
File metadata and controls
46 lines (42 loc) · 924 Bytes
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
version: "3.9"
services:
nginx-proxy:
image: nginxproxy/nginx-proxy
ports:
- '80:80'
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
attacker.local:
build:
context: ./attacker
volumes:
- ./attacker:/usr/src/app
expose:
- "5001:5001"
environment:
- VIRTUAL_HOST=attacker.local
- VIRTUAL_PORT=5001
oauth-provider.local:
build:
context: ./server
volumes:
- ./server:/usr/src/app
expose:
- "3001:3001"
environment:
- VIRTUAL_HOST=oauth-provider.local
- VIRTUAL_PORT=3001
example-client.local: #redirect_uri client
build:
context: ./client
volumes:
- ./client:/usr/src/app
expose:
- "3002:3002"
environment:
- VIRTUAL_HOST=example-client.local
- VIRTUAL_PORT=3002
whoami:
image: containous/whoami
environment:
- VIRTUAL_HOST=whoami.local