Commit 8b90111 1 parent b53fc13 commit 8b90111 Copy full SHA for 8b90111
File tree 3 files changed +8
-2
lines changed
docker-swarm-app-caddy/assets
docker-swarm-app-portainer/assets
3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
# Global options block. Entirely optional, https is on by default
3
3
# Optional email key for lets encrypt
4
- email youremail@domain .com
4
+ email nokwebspace@gmail .com
5
5
# Optional staging lets encrypt for testing. Comment out for production.
6
6
acme_ca https://acme-staging-v02.api.letsencrypt.org/directory
7
7
}
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ services:
41
41
- caddy
42
42
deploy :
43
43
labels :
44
- caddy : whoami.nokwebspace.ovh
44
+ caddy : whoami.{{domain}}
45
45
# this include escape for ansible
46
46
caddy.reverse_proxy : " {{ '{{' }}upstreams 80{{ '}}' }}"
47
47
Original file line number Diff line number Diff line change @@ -34,6 +34,12 @@ services:
34
34
replicas: 1
35
35
placement:
36
36
constraints: [node.role == manager]
37
+ {% if caddy %}
38
+ labels:
39
+ caddy: portainer.{{domain}}
40
+ # this include escape for ansible
41
+ caddy.reverse_proxy: "{{ '{{' }}upstreams 9000{{ '}}' }}"
42
+ {% endif %}
37
43
38
44
networks:
39
45
agent_network:
You can’t perform that action at this time.
0 commit comments