Skip to content

Commit 7f545f8

Browse files
committed
rollback from 1.7.13
Signed-off-by: Pascal Andy <pascal@firepress.org>
1 parent b2775e3 commit 7f545f8

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

traefik_stack5/stack-proxy.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,28 +49,28 @@ services:
4949
cpus: '0.10'
5050
memory: 4M
5151

52-
# running on each node, and using direct host ports
5352
# this traefik reverse proxy has a bunch of features:
53+
# - reverse proxy all 80/443 ingress traffic on a swarm
5454
# - dynamic config via each app's swarm service labels
5555
# - HA multi-container design for traefik
5656
# - runs traefik on host NIC directly, to improve performance
5757
# and capture client IP's
5858
traefik:
5959
<<: *default-opts
60-
image: traefik:1.7.19
60+
image: traefik:1.7.13
6161
ports:
6262
- target: 80
6363
protocol: tcp
6464
published: 80
65-
mode: host
65+
mode: ingress
6666
- target: 443
6767
protocol: tcp
6868
published: 443
69-
mode: host
69+
mode: ingress
7070
- target: 8080
7171
protocol: tcp
7272
published: 8080
73-
mode: host
73+
mode: ingress
7474
networks:
7575
- ntw_front
7676
- ntw_proxy
@@ -90,10 +90,9 @@ services:
9090
--debug=true
9191
--logLevel=WARN
9292
--accessLog
93-
#--web.metrics.prometheus
94-
#--web.metrics.prometheus.buckets="0.1,0.3,1.2,5.0"
95-
--ping
96-
#--web.address=:8080
93+
--web.metrics.prometheus
94+
--web.metrics.prometheus.buckets="0.1,0.3,1.2,5.0"
95+
--web.address=:8080
9796
deploy:
9897
mode: replicated
9998
replicas: 1
@@ -114,7 +113,7 @@ services:
114113
labels:
115114
- "traefik.backend=traefik"
116115
- "traefik.enable=true"
117-
#- "traefik.port=8080"
116+
- "traefik.port=8080"
118117

119118
# https://github.com/pascalandy/docker-stack-this
120119
# inspired by https://github.com/BretFisher/dogvscat

0 commit comments

Comments
 (0)