cloudflared: Add extra_hosts
This commit is contained in:
parent
e48f2e4661
commit
47ad45444a
1 changed files with 15 additions and 12 deletions
|
@ -5,6 +5,21 @@ in
|
||||||
{
|
{
|
||||||
virtualisation.arion.projects.webserver.settings = {
|
virtualisation.arion.projects.webserver.settings = {
|
||||||
services = {
|
services = {
|
||||||
|
cloudflared = {
|
||||||
|
service = {
|
||||||
|
image = "cloudflare/cloudflared:latest";
|
||||||
|
container_name = "cloudflared";
|
||||||
|
restart = "unless-stopped";
|
||||||
|
command = [ "tunnel" "--no-autoupdate" "run" "--token" secret.container.webserver.cloudflared.config.token ];
|
||||||
|
extra_hosts = [
|
||||||
|
"host.docker.internal:host-gateway"
|
||||||
|
];
|
||||||
|
labels = {
|
||||||
|
"com.centurylinklabs.watchtower.enable" = "true";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
mosquitto = {
|
mosquitto = {
|
||||||
service = {
|
service = {
|
||||||
image = "eclipse-mosquitto:2";
|
image = "eclipse-mosquitto:2";
|
||||||
|
@ -21,18 +36,6 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
cloudflared = {
|
|
||||||
service = {
|
|
||||||
image = "cloudflare/cloudflared:latest";
|
|
||||||
container_name = "cloudflared";
|
|
||||||
restart = "unless-stopped";
|
|
||||||
command = [ "tunnel" "--no-autoupdate" "run" "--token" secret.container.webserver.cloudflared.config.token ];
|
|
||||||
labels = {
|
|
||||||
"com.centurylinklabs.watchtower.enable" = "true";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
nifoc-pw-docs = {
|
nifoc-pw-docs = {
|
||||||
service = {
|
service = {
|
||||||
image = "ghcr.io/nifoc/nifoc.pw-docs:master";
|
image = "ghcr.io/nifoc/nifoc.pw-docs:master";
|
||||||
|
|
Loading…
Reference in a new issue