-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
76 lines (69 loc) · 1.45 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
version: '3.7'
services:
client:
init: true
depends_on:
- authserver
hostname: client
build:
context: oauth-client
# network: host
image: oauth2handson:client
command: --check-caps false
container_name: client
ports:
- "9091:52773"
- "8081:1972"
volumes:
- .:/app
resserver:
init: true
depends_on:
- authserver
hostname: resserver
build:
context: oauth-resource-server
# network: host
image: oauth2handson:resserver
command: --check-caps false
container_name: resourceserver
ports:
- "9092:52773"
- "8082:1972"
volumes:
- .:/app
authserver:
init: true
depends_on:
- webserver
hostname: authserver
build:
context: oauth-auth-server
dockerfile: Dockerfile
# network: host
image: oauth2handson:authserver
command: --check-caps false
container_name: authserver
ports:
- "9093:52773"
- "8083:1972"
volumes:
- .:/app
webserver:
hostname: webserver
build:
context: webserver
dockerfile: Dockerfile
# network: host
image: oauth2handson:webserver
container_name: webserver
init: true
ports:
- "80:80"
- "443:443"
volumes:
- ./webserver:/webserver
environment:
- ISC_DATA_DIRECTORY=/webserver
# depends_on:
# - authserver