init commit to create the project

This commit is contained in:
Travis Herbranson 2026-05-10 13:45:14 -04:00
commit 722b0a130c
7 changed files with 54 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
.env
*.env.local

1
.python-version Normal file
View File

@ -0,0 +1 @@
3.12

0
README.md Normal file
View File

30
docker-compose.yml Normal file
View File

@ -0,0 +1,30 @@
# Cloudflared tunnel — outbound-only edge for the homelab.
#
# Routes mcp.herbylab.dev / auth.herbylab.dev / trellis.herbylab.dev (and
# anything Travis adds in the Cloudflare dashboard) to in-network services
# on the shared `homelab` Docker network. Ingress rules live in the
# Cloudflare dashboard, NOT in this repo — token-mode auth.
#
# Usage:
# docker compose -f docker-compose.yml up -d
#
# Env: reads .env (TUNNEL_TOKEN). .env is gitignored.
name: cloudflared
services:
cloudflared:
image: cloudflare/cloudflared:latest
container_name: cloudflared-mcp
restart: unless-stopped
command: tunnel run
env_file:
- .env
environment:
TUNNEL_TOKEN: ${TUNNEL_TOKEN}
networks:
- homelab
networks:
homelab:
external: true

6
main.py Normal file
View File

@ -0,0 +1,6 @@
def main():
print("Hello from cloudflared!")
if __name__ == "__main__":
main()

7
pyproject.toml Normal file
View File

@ -0,0 +1,7 @@
[project]
name = "cloudflared"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = []

8
uv.lock generated Normal file
View File

@ -0,0 +1,8 @@
version = 1
revision = 3
requires-python = ">=3.12"
[[package]]
name = "cloudflared"
version = "0.1.0"
source = { virtual = "." }