Mac mini server intial commit

This commit is contained in:
2026-01-02 08:19:04 +00:00
commit b9d897c665
20 changed files with 430 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
services:
cloudflared:
container_name: 'Cloudflared'
image: cloudflare/cloudflared:latest
restart: unless-stopped
user: '1000:1000'
networks:
- 'default'
- 'tunnel'
volumes:
- ./config.yml:/etc/cloudflared/config.yml
- ./${TUNNEL_ID}.json:/etc/cloudflared/${TUNNEL_ID}.json # Use environment variable for tunnel ID
command: tunnel --no-autoupdate --config /etc/cloudflared/config.yml run
env_file:
- .env # Reference the .env file to inject environment variables
networks:
tunnel:
external: true