-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
136 lines (123 loc) · 4.11 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
version: "3.3"
services:
traefik:
image: "traefik:v2.6"
container_name: "traefik"
restart: "always"
command:
- "--log.level=DEBUG"
- "--api.insecure=true"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=true"
- "--entrypoints.web.address=:80"
ports:
- "80:80"
- "8080:8080"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
landing-page:
image: "stekoe/spring-boot-app:landing"
restart: "always"
labels:
- "traefik.enable=true"
- "traefik.http.routers.landing-page.rule=PathPrefix(`/app`)"
- "traefik.http.routers.landing-page.entrypoints=web"
spring-boot-1.4:
image: "stekoe/spring-boot-app:1.4.7.RELEASE"
restart: "always"
labels:
- "traefik.enable=true"
- "traefik.http.routers.spring-1-4.rule=PathPrefix(`/app/1.4`)"
- "traefik.http.routers.spring-1-5.entrypoints=web"
environment:
- server.servlet.context-path=/app/1.4
spring-boot-1.5:
image: "stekoe/spring-boot-app:1.5.14.RELEASE"
restart: "always"
labels:
- "traefik.enable=true"
- "traefik.http.routers.spring-1-5.rule=PathPrefix(`/app/1.5`)"
- "traefik.http.routers.spring-1-5.entrypoints=web"
environment:
- server.servlet.context-path=/app/1.5
spring-boot-2.0:
image: "stekoe/spring-boot-app:2.0.5.RELEASE"
restart: "always"
labels:
- "traefik.enable=true"
- "traefik.http.routers.spring-2-0.rule=PathPrefix(`/app/2.0`)"
- "traefik.http.routers.spring-2-0.entrypoints=web"
environment:
- server.servlet.context-path=/app/2.0
spring-boot-2.1:
image: "stekoe/spring-boot-app:2.1.8.RELEASE"
restart: "always"
labels:
- "traefik.enable=true"
- "traefik.http.routers.spring-2-1.rule=PathPrefix(`/app/2.1`)"
- "traefik.http.routers.spring-2-1.entrypoints=web"
environment:
- server.servlet.context-path=/app/2.1
spring-boot-2.2:
image: "stekoe/spring-boot-app:2.2.5.RELEASE"
restart: "always"
labels:
- "traefik.enable=true"
- "traefik.http.routers.spring-2-2.rule=PathPrefix(`/app/2.2`)"
- "traefik.http.routers.spring-2-2.entrypoints=web"
environment:
- server.servlet.context-path=/app/2.2
spring-boot-2.3:
image: "stekoe/spring-boot-app:2.3.3.RELEASE"
restart: "always"
labels:
- "traefik.enable=true"
- "traefik.http.routers.spring-2-3.rule=PathPrefix(`/app/2.3`)"
- "traefik.http.routers.spring-2-3.entrypoints=web"
environment:
- server.servlet.context-path=/app/2.3
spring-boot-2.4:
image: "stekoe/spring-boot-app:2.4.13"
restart: "always"
labels:
- "traefik.enable=true"
- "traefik.http.routers.spring-2-4.rule=PathPrefix(`/app/2.4`)"
- "traefik.http.routers.spring-2-4.entrypoints=web"
environment:
- server.servlet.context-path=/app/2.4
spring-boot-2.5:
image: "stekoe/spring-boot-app:2.5.9"
restart: "always"
labels:
- "traefik.enable=true"
- "traefik.http.routers.spring-2-5.rule=PathPrefix(`/app/2.5`)"
- "traefik.http.routers.spring-2-5.entrypoints=web"
environment:
- server.servlet.context-path=/app/2.5
spring-boot-2.6:
image: "stekoe/spring-boot-app:2.6.8"
restart: "always"
labels:
- "traefik.enable=true"
- "traefik.http.routers.spring-2-6.rule=PathPrefix(`/app/2.6`)"
- "traefik.http.routers.spring-2-6.entrypoints=web"
environment:
- server.servlet.context-path=/app/2.6
spring-boot-2.7:
image: "stekoe/spring-boot-app:2.7.0"
restart: "always"
labels:
- "traefik.enable=true"
- "traefik.http.routers.spring-2-7.rule=PathPrefix(`/app/2.7`)"
- "traefik.http.routers.spring-2-7.entrypoints=web"
environment:
- server.servlet.context-path=/app/2.7
spring-boot-3.0:
image: "stekoe/spring-boot-app:3.0.0-M1"
restart: "always"
labels:
- "traefik.enable=true"
- "traefik.http.routers.spring-3-0.rule=PathPrefix(`/app/3.0`)"
- "traefik.http.routers.spring-3-0.entrypoints=web"
environment:
- server.servlet.context-path=/app/3.0