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