2024-01-09 20:14:37 +00:00
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
services:
|
|
|
|
app_proxy:
|
|
|
|
environment:
|
|
|
|
APP_HOST: cloudflared-web
|
|
|
|
APP_PORT: 3000
|
|
|
|
|
|
|
|
web:
|
2024-07-23 03:23:45 +00:00
|
|
|
image: ghcr.io/radiokot/umbrel-cloudflared:1.0.2@sha256:9660fb4e90317036d2b418f1c9437cc2cdb7f7bdd8d820084237a0c37bb94f5b
|
2024-01-09 20:14:37 +00:00
|
|
|
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:
|
2024-07-23 03:23:45 +00:00
|
|
|
image: ghcr.io/radiokot/umbrel-cloudflared-connector:1.0.0-cf.2024.6.1@sha256:6f008e93af8c1230ad3d13df853aa182344eca5577725bf0ce80376de029a809
|
2024-01-09 20:14:37 +00:00
|
|
|
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"
|