Version 0.6.0 (2026-04-01)
Changes:
- add config validation option via Makefile
- add `default-http{,s}-port` commands to add_servers.py
- update add_servers.py to pass generic parameters to servers in templates
- add nginx_conf.d directory usage for more than one custom nginx configurations
- rename `port` and `ssl_port` to `http{,s}_port` for templates
- add `http{,s}_custom_params` to templates
This commit is contained in:
@@ -7,7 +7,7 @@ services:
|
||||
context: ./certbot
|
||||
args:
|
||||
EMAIL: ${EMAIL}
|
||||
volumes:
|
||||
volumes: &volumes-config
|
||||
- ssl:/ssl
|
||||
- letsencrypt:/etc/letsencrypt
|
||||
depends_on:
|
||||
@@ -15,18 +15,31 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
nginx:
|
||||
container_name: 'global-nginx'
|
||||
container_name: "global-nginx"
|
||||
build: ./nginx
|
||||
volumes:
|
||||
- ssl:/ssl
|
||||
- letsencrypt:/etc/letsencrypt
|
||||
volumes: *volumes-config
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "50m"
|
||||
|
||||
volumes:
|
||||
ssl:
|
||||
name: ssl_nginx_ssl
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: "none"
|
||||
o: "bind"
|
||||
device: "./data/ssl"
|
||||
|
||||
letsencrypt:
|
||||
name: ssl_nginx_letsencrypt
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: "none"
|
||||
o: "bind"
|
||||
device: "./data/letsencrypt"
|
||||
|
||||
Reference in New Issue
Block a user