Commit e68132b 1 parent 4fca697 commit e68132b Copy full SHA for e68132b
File tree 3 files changed +19
-1
lines changed
ansible/roles/docker-swarm-app-caddy/assets
3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 52
52
auth .{{domain} } {
53
53
authenticate with myportal
54
54
}
55
+
56
+ (external_dns) {
57
+ tls {
58
+ dns digitalocean {env.DIGITALOCEAN_API_TOKEN}
59
+ }
60
+ }
Original file line number Diff line number Diff line change 1
- ARG CADDY_VERSION=2.8.4
1
+ ARG CADDY_VERSION=2.9.1
2
2
FROM caddy:${CADDY_VERSION}-builder-alpine AS builder
3
3
4
4
RUN xcaddy build \
Original file line number Diff line number Diff line change @@ -54,6 +54,18 @@ services:
54
54
caddy.reverse_proxy : " {{ '{{' }}upstreams 80{{ '}}' }}"
55
55
caddy.authorize : with admins_policy
56
56
57
+ whoami-dns :
58
+ # A container that exposes an API to show its IP address
59
+ image : containous/whoami
60
+ networks :
61
+ - caddy
62
+ deploy :
63
+ labels :
64
+ caddy : whoami-dns.{{domain}}
65
+ caddy.import : external_dns
66
+ caddy.reverse_proxy : " {{ '{{' }}upstreams 80{{ '}}' }}"
67
+
68
+
57
69
volumes :
58
70
caddy_data :
59
71
caddy_config :
You can’t perform that action at this time.
0 commit comments