commit 3649e2a0082a5be836b5d2b11019aa9e98228cd5 parent c6ca3ba5790d21b8fb69d9fe1426a9be000b9bf9 Author: William Lindholm <william_lindholm@outlook.com> Date: Mon, 21 Sep 2026 01:02:17 +0200 Added reverse proxy config Diffstat:
| A | Caddyfile | | | 3 | +++ |
| M | docker-compose.yml | | | 15 | +++++++++++++-- |
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/Caddyfile b/Caddyfile @@ -0,0 +1,3 @@ +cv.lindholmlabs.com { + reverse_proxy cv:8000 +} diff --git a/docker-compose.yml b/docker-compose.yml @@ -1,8 +1,19 @@ services: - resume: + caddy: + image: caddy:2-alpine + restart: unless-stopped + ports: + - "80:80" + - "443:443" + volumes: + - ./Caddyfile:/etc/caddy/Caddyfile:ro + depends_on: + - cv + + cv: build: ./app ports: - - "8000:8000" + - "127.0.0.1:8000:8000" restart: unless-stopped develop: watch: