remove deployment...

master
Arne Schröder 2020-09-22 20:38:27 +02:00
parent 1635c9e2a6
commit 4e6bc40eef
1 changed files with 19 additions and 23 deletions

View File

@ -13,7 +13,6 @@ service:
# this volume is needed to keep the certificates # this volume is needed to keep the certificates
# otherwise, new ones will be re-issued upon restart # otherwise, new ones will be re-issued upon restart
- caddy_data:/data - caddy_data:/data
deploy:
labels: # Global options labels: # Global options
caddy.email: arne.schroeder@mailbox.org caddy.email: arne.schroeder@mailbox.org
@ -22,25 +21,23 @@ service:
image: jwilder/whoami image: jwilder/whoami
networks: networks:
- caddy - caddy
deploy: labels:
labels: caddy: whoami0.devsrv.fritz.box
caddy: whoami0.devsrv.fritz.box caddy.reverse_proxy: "{{upstreams 8000}}"
caddy.reverse_proxy: "{{upstreams 8000}}" caddy.tls: "internal"
caddy.tls: "internal"
# Proxy to service that you want to expose to the outside world # Proxy to service that you want to expose to the outside world
whoami1: whoami1:
image: jwilder/whoami image: jwilder/whoami
networks: networks:
- caddy - caddy
deploy: labels:
labels: caddy: whoami1.devsrv.fritz.box
caddy: whoami1.devsrv.fritz.box caddy.reverse_proxy: "{{upstreams 8000}}"
caddy.reverse_proxy: "{{upstreams 8000}}" caddy.tls: "internal"
caddy.tls: "internal" # remove the following line when you have verified your setup
# remove the following line when you have verified your setup # Otherwise you risk being rate limited by let's encrypt
# Otherwise you risk being rate limited by let's encrypt #caddy.tls.ca: https://acme-staging-v02.api.letsencrypt.org/directory
#caddy.tls.ca: https://acme-staging-v02.api.letsencrypt.org/directory
# Proxy to container # Proxy to container
whoami2: whoami2:
@ -67,13 +64,12 @@ service:
image: brndnmtthws/nginx-echo-headers image: brndnmtthws/nginx-echo-headers
networks: networks:
- caddy - caddy
deploy: labels:
labels: caddy: echo0.devsrv.fritz.box
caddy: echo0.devsrv.fritz.box caddy.@match.path: "/sourcepath /sourcepath/*"
caddy.@match.path: "/sourcepath /sourcepath/*" caddy.route: "@match"
caddy.route: "@match" caddy.route.0_uri: "strip_prefix /sourcepath"
caddy.route.0_uri: "strip_prefix /sourcepath" caddy.route.1_rewrite: "* /targetpath{path}"
caddy.route.1_rewrite: "* /targetpath{path}" caddy.route.2_reverse_proxy: "{{upstreams 8080}}"
caddy.route.2_reverse_proxy: "{{upstreams 8080}}" caddy.tls: "internal"
caddy.tls: "internal"