mirror of
https://github.com/ChrispyBacon-dev/DockFlare.git
synced 2026-04-28 11:49:34 +00:00
38 lines
No EOL
1.3 KiB
YAML
38 lines
No EOL
1.3 KiB
YAML
version: '3.8'
|
|
services:
|
|
cloudflare-tunnel-manager:
|
|
build: . # for building local docker image
|
|
container_name: dockflare
|
|
# image: alplat/dockflare:stable # The pre-built Docker image (`alplat/dockflare:stable`) is currently only available for `x86_64` / `amd64` architectures.
|
|
restart: unless-stopped
|
|
ports:
|
|
- "5000:5000"
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
- dockflare_data:/app/data
|
|
networks:
|
|
- cloudflare-net
|
|
environment:
|
|
- STATE_FILE_PATH=/app/data/state.json
|
|
- TZ=Europe/Zurich # Set the timezone to Zurich
|
|
|
|
# Container Scanning Configuration:
|
|
# Enable this to scan for labeled containers across ALL Docker networks
|
|
# - SCAN_ALL_NETWORKS=true
|
|
|
|
# External cloudflared Configuration:
|
|
# When using an external cloudflared instance, you need these settings:
|
|
# - USE_EXTERNAL_CLOUDFLARED=true
|
|
# - EXTERNAL_TUNNEL_ID=your-external-tunnel-id
|
|
#
|
|
# When using the external mode, these settings become optional:
|
|
# - TUNNEL_NAME (not used with external mode)
|
|
# - CLOUDFLARED_NETWORK_NAME (not used with external mode)
|
|
# - CLOUDFLARED_CONTAINER_NAME (not used with external mode)
|
|
volumes:
|
|
dockflare_data:
|
|
networks:
|
|
cloudflare-net:
|
|
name: cloudflare-net |