mirror of
https://github.com/ChrispyBacon-dev/DockFlare.git
synced 2026-04-28 03:39:32 +00:00
17 lines
No EOL
532 B
YAML
17 lines
No EOL
532 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
tunnel-manager:
|
|
build: .
|
|
container_name: cloudflare-tunnel-manager
|
|
restart: unless-stopped
|
|
ports:
|
|
- "5001:5000" # Host:Container
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
# Grant access to the host's Docker socket
|
|
# SECURITY WARNING: This gives the container significant control over Docker.
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
# Note: We are NOT defining the cloudflared container here.
|
|
# The tunnel-manager will create/manage it via the Docker API. |