File tree Expand file tree Collapse file tree 4 files changed +17
-12
lines changed Expand file tree Collapse file tree 4 files changed +17
-12
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ cd "$ENV_MONOREPO" && \
2828
2929```
3030echo "CONFIGURE ENV_VAR" && \
31- ENV_EDGE_BRANCH="1.55 ";
31+ ENV_EDGE_BRANCH="1.56 ";
3232ENV_MONOREPO="traefik_stack5";
3333
3434echo "Setup the stack" && \
Original file line number Diff line number Diff line change 1- version : ' 3.2 '
1+ version : ' 3.7 '
22
33services :
44
@@ -12,7 +12,7 @@ services:
1212 - portainer_data:/data
1313 networks :
1414 - ntw_front
15- - default
15+ - portainer
1616 deploy :
1717 mode : replicated
1818 replicas : 1
@@ -47,7 +47,7 @@ services:
4747 volumes :
4848 - /var/run/docker.sock:/var/run/docker.sock
4949 networks :
50- - default
50+ - portainer
5151 deploy :
5252 mode : global
5353 restart_policy :
@@ -62,7 +62,7 @@ services:
6262networks :
6363 ntw_front :
6464 external : true
65- default :
65+ portainer :
6666 driver : overlay
6767
6868volumes :
Original file line number Diff line number Diff line change 11version : ' 3.7'
22
3+ x-default-opts :
4+ &default-opts
5+ logging :
6+ options :
7+ max-size : " 1m"
8+
39networks :
410 ntw_front :
511 external : true
@@ -13,6 +19,7 @@ configs:
1319services :
1420
1521 socat :
22+ << : *default-opts
1623 image : devmtl/socatproxy:1.1
1724 networks :
1825 - ntw_front
@@ -36,7 +43,8 @@ services:
3643 - " traefik.enable=false"
3744
3845 traefik :
39- image : traefik:1.7.6-alpine
46+ << : *default-opts
47+ image : traefik:1.7.7-alpine
4048 ports :
4149 - target : 80
4250 protocol : tcp
@@ -91,6 +99,4 @@ services:
9199 - " traefik.logLevel=DEBUG"
92100 - " traefik.port=8080"
93101
94-
95- # by Pascal Andy | https://pascalandy.com/
96102# https://github.com/pascalandy/docker-stack-this
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ services:
2929 cpus : ' 0.20'
3030 memory : 4M
3131 labels :
32+ # With a real domain name you would
33+ # "traefik.frontend.rule=Host:mydummysite.tk"
3234 - " traefik.frontend.rule=PathPrefixStrip:/"
3335 - " traefik.backend=home"
3436 - " traefik.port=2015"
@@ -135,8 +137,5 @@ services:
135137 - " traefik.frontend.entryPoints=http"
136138 - " traefik.backend.loadbalancer.swarm=true"
137139 - " traefik.backend.loadbalancer.method=drr"
138-
139- # With a real domain name you will need "traefik.frontend.rule=Host:mydummysite.tk"
140- #
141- # by Pascal Andy | https://pascalandy.com/
140+
142141# https://github.com/pascalandy/docker-stack-this
You can’t perform that action at this time.
0 commit comments