From 2bd55b66a4eb3df33aa34b3394a71f0cfeb59085 Mon Sep 17 00:00:00 2001 From: Jay T Date: Tue, 18 Aug 2026 00:11:48 +0000 Subject: [PATCH] Initial commit: Caddy proxy and network architecture --- .gitignore | 6 ++++++ caddy/docker-compose.yml | 18 ++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 .gitignore create mode 100644 caddy/docker-compose.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d53b44c --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +# Ignore environment variable files with secrets +.env + +# If you ever mount data locally instead of using docker volumes +*/data/ +*/db/ diff --git a/caddy/docker-compose.yml b/caddy/docker-compose.yml new file mode 100644 index 0000000..231bee2 --- /dev/null +++ b/caddy/docker-compose.yml @@ -0,0 +1,18 @@ +services: + caddy: + image: caddy:latest + restart: unless-stopped + ports: + - "80:80" + - "443:443" + - "443:443/udp" + volumes: + - ./Caddyfile:/etc/caddy/Caddyfile + - caddy_data:/data + - caddy_config:/config + networks: + - caddy_net + +volumes: + caddy_data: + caddy_config: