1
0
Fork 0

webserver: Add cloudflared

This commit is contained in:
Daniel Kempkens 2022-11-19 18:02:18 +01:00
parent 5aa77cc86c
commit 8ac594ea8f
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
2 changed files with 13 additions and 0 deletions

View file

@ -66,6 +66,19 @@ in
};
};
cloudflared = {
service = {
image = "cloudflare/cloudflared:latest";
container_name = "cloudflared";
restart = "unless-stopped";
networks = [ "webserver" ];
command = [ "tunnel" "--no-autoupdate" "run" "--token" secret.container.webserver.cloudflared.config.token ];
labels = {
"com.centurylinklabs.watchtower.enable" = "true";
};
};
};
ifconfig-sexy = {
service = {
image = "ghcr.io/nifoc/ifconfig.sexy-caddy:master";