manual ssl handler edit
All checks were successful
Build and Deploy Demo App / build-and-deploy (push) Successful in 34s
All checks were successful
Build and Deploy Demo App / build-and-deploy (push) Successful in 34s
This commit is contained in:
@@ -5,22 +5,15 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
nginx:
|
||||
image: jonasal/nginx-certbot:latest
|
||||
image: nginx:alpine # Switch to plain Nginx (no Certbot)
|
||||
container_name: demo-nginx
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 8008:80
|
||||
- 4433:443
|
||||
environment:
|
||||
- CERTBOT_EMAIL=the.dark.mist23@gmail.com
|
||||
- ENVSUBST_TEMPLATE_SUFFIX=.tmpl # Enables template processing if needed
|
||||
volumes:
|
||||
- ./nginx_user_conf.d:/etc/nginx/conf.d/
|
||||
- letsencrypt:/etc/letsencrypt
|
||||
- /home/devroot/demo/certs/fullchain.pem:/etc/nginx/ssl/origin_cert.pem:ro # Mount cert
|
||||
- /home/devroot/demo/certs/prvkey.pem:/etc/nginx/ssl/origin_key.key:ro # Mount key
|
||||
- /home/devroot/demo/certs/fullchain.pem:/etc/nginx/ssl/fullchain.pem:ro # Mount cert
|
||||
- /home/devroot/demo/certs/prvkey.pem:/etc/nginx/ssl/privkey.pem:ro # Mount key
|
||||
depends_on:
|
||||
- app
|
||||
|
||||
volumes:
|
||||
letsencrypt:
|
||||
|
||||
Reference in New Issue
Block a user