This repository has been archived by the owner on Sep 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
166 lines (157 loc) · 6.16 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
version: "3.3"
services:
registry_africa:
image: "registry:latest"
environment:
REGISTRY_AUTH: htpasswd
REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm
REGISTRY_AUTH_HTPASSWD_PATH: /auth/registry.password
REGISTRY_HTTP_HOST: "https://africa.koth.icc.cybersecnatlab.it"
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik"
- "traefik.http.routers.registry_africa.rule=Host(`africa.koth.icc.cybersecnatlab.it`)"
- "traefik.http.services.registry_africa.loadbalancer.server.port=5000"
- "traefik.http.routers.registry_africa.entrypoints=websecure"
- "traefik.http.routers.registry_africa.tls=true"
- "traefik.http.routers.registry_africa.tls.certresolver=letsencrypt"
volumes:
- ./auth/africa:/auth
hostname: registry_africa
networks:
- traefik
registry_asia:
image: "registry:latest"
environment:
REGISTRY_AUTH: htpasswd
REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm
REGISTRY_AUTH_HTPASSWD_PATH: /auth/registry.password
REGISTRY_HTTP_HOST: "https://asia.koth.icc.cybersecnatlab.it"
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik"
- "traefik.http.routers.registry_asia.rule=Host(`asia.koth.icc.cybersecnatlab.it`)"
- "traefik.http.services.registry_asia.loadbalancer.server.port=5000"
- "traefik.http.routers.registry_asia.entrypoints=websecure"
- "traefik.http.routers.registry_asia.tls=true"
- "traefik.http.routers.registry_asia.tls.certresolver=letsencrypt"
volumes:
- ./auth/asia:/auth
hostname: registry_asia
networks:
- traefik
registry_canada:
image: "registry:latest"
environment:
REGISTRY_AUTH: htpasswd
REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm
REGISTRY_AUTH_HTPASSWD_PATH: /auth/registry.password
REGISTRY_HTTP_HOST: "https://canada.koth.icc.cybersecnatlab.it"
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik"
- "traefik.http.routers.registry_canada.rule=Host(`canada.koth.icc.cybersecnatlab.it`)"
- "traefik.http.services.registry_canada.loadbalancer.server.port=5000"
- "traefik.http.routers.registry_canada.entrypoints=websecure"
- "traefik.http.routers.registry_canada.tls=true"
- "traefik.http.routers.registry_canada.tls.certresolver=letsencrypt"
volumes:
- ./auth/canada:/auth
hostname: registry_canada
networks:
- traefik
registry_europe:
image: "registry:latest"
environment:
REGISTRY_AUTH: htpasswd
REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm
REGISTRY_AUTH_HTPASSWD_PATH: /auth/registry.password
REGISTRY_HTTP_HOST: "https://europe.koth.icc.cybersecnatlab.it"
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik"
- "traefik.http.routers.registry_europe.rule=Host(`europe.koth.icc.cybersecnatlab.it`)"
- "traefik.http.services.registry_europe.loadbalancer.server.port=5000"
- "traefik.http.routers.registry_europe.entrypoints=websecure"
- "traefik.http.routers.registry_europe.tls=true"
- "traefik.http.routers.registry_europe.tls.certresolver=letsencrypt"
volumes:
- ./auth/europe:/auth
hostname: registry_europe
networks:
- traefik
registry_latina:
image: "registry:latest"
environment:
REGISTRY_AUTH: htpasswd
REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm
REGISTRY_AUTH_HTPASSWD_PATH: /auth/registry.password
REGISTRY_HTTP_HOST: "https://latina.koth.icc.cybersecnatlab.it"
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik"
- "traefik.http.routers.registry_latina.rule=Host(`latina.koth.icc.cybersecnatlab.it`)"
- "traefik.http.services.registry_latina.loadbalancer.server.port=5000"
- "traefik.http.routers.registry_latina.entrypoints=websecure"
- "traefik.http.routers.registry_latina.tls=true"
- "traefik.http.routers.registry_latina.tls.certresolver=letsencrypt"
volumes:
- ./auth/latina:/auth
hostname: registry_latina
networks:
- traefik
registry_oceania:
image: "registry:latest"
environment:
REGISTRY_AUTH: htpasswd
REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm
REGISTRY_AUTH_HTPASSWD_PATH: /auth/registry.password
REGISTRY_HTTP_HOST: "https://oceania.koth.icc.cybersecnatlab.it"
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik"
- "traefik.http.routers.registry_oceania.rule=Host(`oceania.koth.icc.cybersecnatlab.it`)"
- "traefik.http.services.registry_oceania.loadbalancer.server.port=5000"
- "traefik.http.routers.registry_ocenia.entrypoints=websecure"
- "traefik.http.routers.registry_ocenia.tls=true"
- "traefik.http.routers.registry_oceania.tls.certresolver=letsencrypt"
volumes:
- ./auth/oceania:/auth
hostname: registry_oceania
networks:
- traefik
registry_usa:
image: "registry:latest"
environment:
REGISTRY_AUTH: htpasswd
REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm
REGISTRY_AUTH_HTPASSWD_PATH: /auth/registry.password
REGISTRY_HTTP_HOST: "https://usa.koth.icc.cybersecnatlab.it"
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik"
- "traefik.http.routers.registry_usa.rule=Host(`usa.koth.icc.cybersecnatlab.it`)"
- "traefik.http.services.registry_usa.loadbalancer.server.port=5000"
- "traefik.http.routers.registry_usa.entrypoints=websecure"
- "traefik.http.routers.registry_usa.tls=true"
- "traefik.http.routers.registry_usa.tls.certresolver=letsencrypt"
volumes:
- ./auth/usa:/auth
hostname: registry_usa
networks:
- traefik
webservice:
build: "webservice"
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik"
- "traefik.http.routers.webservice.rule=Host(`koth.icc.cybersecnatlab.it`) || Host(`10.10.0.4`)"
- "traefik.http.services.webservice.loadbalancer.server.port=3000"
- "traefik.http.routers.webservice.entrypoints=web"
volumes:
- "./docker_game_manager/results:/results"
networks:
- traefik
networks:
traefik:
external: true