Switch reverse-proxy to Caddy and let it handle the certs
Do this to simply the entire deployment.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user