-
-
Notifications
You must be signed in to change notification settings - Fork 695
Expand file tree
/
Copy pathcloudflared.compose.yml
More file actions
27 lines (26 loc) · 871 Bytes
/
Copy pathcloudflared.compose.yml
File metadata and controls
27 lines (26 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# =============================================================================
# ©AngelaMos | 2026
# cloudflared.compose.yml
# =============================================================================
# Cloudflare Tunnel for production remote access
# Usage: docker compose -f compose.yml -f cloudflared.compose.yml up -d
# =============================================================================
services:
cloudflared:
image: cloudflare/cloudflared:latest
container_name: ${APP_NAME:-canary-token-generator}-tunnel
command: tunnel run --token ${CLOUDFLARE_TUNNEL_TOKEN}
networks:
- app
depends_on:
nginx:
condition: service_started
deploy:
resources:
limits:
cpus: '0.5'
memory: 128M
reservations:
cpus: '0.1'
memory: 32M
restart: unless-stopped