You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

35 lines
1.1 KiB

version: "3.7"
services:
app_proxy:
environment:
APP_HOST: cloudflared-web
APP_PORT: 3000
web:
image: ghcr.io/radiokot/umbrel-cloudflared:1.0.2@sha256:9660fb4e90317036d2b418f1c9437cc2cdb7f7bdd8d820084237a0c37bb94f5b
hostname: cloudflared-web
restart: on-failure
stop_grace_period: 1s
depends_on:
- connector
volumes:
- ${APP_DATA_DIR}/data:/app/data
environment:
CLOUDFLARED_HOSTNAME: "cloudflared-connector"
CLOUDFLARED_METRICS_PORT: "${APP_CLOUDFLARED_METRICS_PORT}"
CLOUDFLARED_TOKEN_FILE: "/app/data/token"
connector:
image: ghcr.io/radiokot/umbrel-cloudflared-connector:1.0.0-cf.2024.6.1@sha256:6f008e93af8c1230ad3d13df853aa182344eca5577725bf0ce80376de029a809
hostname: cloudflared-connector
restart: on-failure
stop_grace_period: 5s
volumes:
- ${APP_DATA_DIR}/data:/data
environment:
CLOUDFLARED_METRICS_PORT: "${APP_CLOUDFLARED_METRICS_PORT}"
CLOUDFLARED_TOKEN_FILE: "./data/token"
extra_hosts:
- "host.docker.internal:host-gateway"
- "${APP_DOMAIN}:host-gateway"