Switch reverse-proxy to Caddy and let it handle the certs

Do this to simply the entire deployment.
This commit is contained in:
Julian Schacher
2024-02-15 14:58:27 +01:00
parent bcd065f42d
commit 89fda37a38
4 changed files with 8 additions and 77 deletions

View File

@@ -1,12 +1,13 @@
# Links & Resources
# - https://hub.docker.com/_/nginx
# - https://hub.docker.com/_/caddy
# - https://caddyserver.com/docs/
services:
caddy:
image: nginx
image: caddy
ports:
- "80:80"
- "443:443"
volumes:
- "./nginx.conf:/etc/nginx/nginx.conf:ro"
- "./conf.d/:/etc/nginx/conf.d/:ro"
- "./Caddyfile:/etc/caddy/Caddyfile:ro"
- "/ansible_docker_compose/project_data/reverse-proxy/caddy/data:/data"