@@ -38,51 +38,51 @@ services:
38
38
39
39
# Proxy to service
40
40
whoami0 :
41
- image : jwilder /whoami
41
+ image : containous /whoami
42
42
networks :
43
43
- caddy
44
44
deploy :
45
45
labels :
46
46
caddy : whoami0.example.com
47
- caddy.reverse_proxy : " {{upstreams 8000 }}"
47
+ caddy.reverse_proxy : " {{upstreams 80 }}"
48
48
caddy.tls : " internal"
49
49
50
50
# Proxy to service that you want to expose to the outside world
51
51
whoami1 :
52
- image : jwilder /whoami
52
+ image : containous /whoami
53
53
networks :
54
54
- caddy
55
55
deploy :
56
56
labels :
57
57
caddy : whoami1.example.com
58
- caddy.reverse_proxy : " {{upstreams 8000 }}"
58
+ caddy.reverse_proxy : " {{upstreams 80 }}"
59
59
# remove the following line when you have verified your setup
60
60
# Otherwise you risk being rate limited by let's encrypt
61
61
caddy.tls.ca : https://acme-staging-v02.api.letsencrypt.org/directory
62
62
63
63
# Proxy to container
64
64
whoami2 :
65
- image : jwilder /whoami
65
+ image : containous /whoami
66
66
networks :
67
67
- caddy
68
68
labels :
69
69
caddy : whoami2.example.com
70
- caddy.reverse_proxy : " {{upstreams 8000 }}"
70
+ caddy.reverse_proxy : " {{upstreams 80 }}"
71
71
caddy.tls : " internal"
72
72
73
73
# Proxy to container
74
74
whoami3 :
75
- image : jwilder /whoami
75
+ image : containous /whoami
76
76
networks :
77
77
- caddy
78
78
labels :
79
79
caddy : whoami3.example.com
80
- caddy.reverse_proxy : " {{upstreams 8000 }}"
80
+ caddy.reverse_proxy : " {{upstreams 80 }}"
81
81
caddy.tls : " internal"
82
82
83
83
# Proxy with matches and route
84
84
echo_0 :
85
- image : brndnmtthws/nginx-echo-headers
85
+ image : containous/whoami
86
86
networks :
87
87
- caddy
88
88
deploy :
@@ -92,7 +92,7 @@ services:
92
92
caddy.route : " @match"
93
93
caddy.route.0_uri : " strip_prefix /sourcepath"
94
94
caddy.route.1_rewrite : " * /targetpath{path}"
95
- caddy.route.2_reverse_proxy : " {{upstreams 8080 }}"
95
+ caddy.route.2_reverse_proxy : " {{upstreams 80 }}"
96
96
caddy.tls : " internal"
97
97
98
98
networks :
0 commit comments