File tree Expand file tree Collapse file tree 4 files changed +33
-25
lines changed Expand file tree Collapse file tree 4 files changed +33
-25
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ cd "$ENV_MONOREPO" && \
29
29
30
30
```
31
31
echo "CONFIGURE ENV_VAR" && \
32
- ENV_EDGE_BRANCH="1.54 ";
32
+ ENV_EDGE_BRANCH="1.55 ";
33
33
ENV_MONOREPO="traefik_stack5";
34
34
35
35
echo "Setup the stack" && \
Original file line number Diff line number Diff line change 1
- defaultEntryPoints = [" http" ]
1
+ defaultEntryPoints = [" http" , " https " ]
2
2
3
3
[entryPoints ]
4
- [entryPoints .http ]
5
- address = " :80"
6
- # compress = false
7
- # [entryPoints.http.redirect]
8
- # entryPoint = "https"
9
- # [entryPoints.https]
10
- # address = ":443"
11
- # [entryPoints.https.tls]
12
- # [[entryPoints.https.tls.certificates]]
13
- # CertFile = "/etc/traefik/domain.com.cert"
14
- # KeyFile = "/etc/traefik/domain.com.key"
4
+ [entryPoints .dashboard ]
5
+ address = " :8080"
6
+ [entryPoints .dashboard .auth ]
7
+ [entryPoints .dashboard .auth .basic ]
8
+ users = [" admin:$2y$05$pAfipn3.brdHMI2eWGnYH.84XYqLozp1sUPi36/l54UAwv.zGLtNC" ]
9
+ [entryPoints .http ]
10
+ address = " :80"
11
+ [entryPoints .http .redirect ]
12
+ entryPoint = " https"
13
+ [entryPoints .https ]
14
+ address = " :443"
15
+ [entryPoints .https .tls ]
15
16
16
- # [acme]
17
- # email = jean-michel@domain.com"
18
- # storage = "/etc/traefik/acme.json"
19
- # entryPoint = "https"
20
- # onDemand = true
21
- # OnHostRule = true
22
- # acmeLogging = true
17
+ [api ]
18
+ entrypoint =" dashboard"
19
+
20
+ [acme ]
21
+ email = " your_email@your_domain.net"
22
+ storage = " acme.json"
23
+ entryPoint = " https"
24
+ caServer = " https://acme-staging-v02.api.letsencrypt.org/directory"
25
+ onHostRule = true
26
+ [acme .httpChallenge ]
27
+ entryPoint = " http"
Original file line number Diff line number Diff line change @@ -46,13 +46,15 @@ services:
46
46
protocol : tcp
47
47
published : 443
48
48
mode : ingress
49
- - target : 8080
50
- protocol : tcp
51
- published : 8080
52
- mode : ingress
49
+ # - target: 8080
50
+ # protocol: tcp
51
+ # published: 8080
52
+ # mode: ingress
53
53
networks :
54
54
- ntw_front
55
55
- ntw_proxy
56
+ volumes :
57
+ - ./configs/acme.json:/acme.json
56
58
configs :
57
59
- source : traefik.toml
58
60
target : /etc/traefik/traefik.toml
@@ -85,9 +87,10 @@ services:
85
87
cpus : ' 0.05'
86
88
memory : 48M
87
89
labels :
90
+ - " traefik.frontend.rule=PathPrefixStrip:/traefik"
88
91
- " traefik.backend=traefik"
89
92
- " traefik.enable=true"
90
- - " traefik.logLevel=DEBUG"
93
+ # - "traefik.logLevel=DEBUG"
91
94
- " traefik.port=8080"
92
95
- " traefik.passHostHeader=true"
93
96
- " traefik.frontend.entryPoints=http"
You can’t perform that action at this time.
0 commit comments