From cf7d0f27549290ec4ee73e0a6763a5fd456c85e7 Mon Sep 17 00:00:00 2001 From: joecryptotoo <80373433+joecryptotoo@users.noreply.github.com> Date: Fri, 23 Jun 2023 13:58:47 -0700 Subject: [PATCH] added cloudflare tunnel service --- docker-compose.yml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 20e98f7..d45768d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -71,3 +71,47 @@ services: deploy: {} environment: - CLI_ARGS=--cpu + + tunnel-auto: &tunnel + image: cloudflare/cloudflared:latest + restart: unless-stopped + profiles: ["auto"] + environment: + - TUNNEL_URL=http://auto:7860 + command: tunnel --no-autoupdate + + tunnel-auto-cpu: + <<: *tunnel + profiles: ["auto-cpu"] + environment: + - TUNNEL_URL=http://auto-cpu:7860 + + tunnel-invoke: + <<: *tunnel + profiles: ["invoke"] + environment: + - TUNNEL_URL=http://invoke:7860 + + tunnel-sygil: + <<: *tunnel + profiles: ["sygil"] + environment: + - TUNNEL_URL=http://sygil:7860 + + tunnel-sygil-sl: + <<: *tunnel + profiles: ["sygil-sl"] + environment: + - TUNNEL_URL=http://sygil-sl:7860 + + tunnel-comfy: + <<: *tunnel + profiles: ["comfy"] + environment: + - TUNNEL_URL=http://comfy:7860 + + tunnel-comfy-cpu: + <<: *tunnel + profiles: ["comfy-cpu"] + environment: + - TUNNEL_URL=http://comfy-cpu:7860