Version 0.6.0 (2026-03-25)
Changes:
- add config validation container to docker-compose
- add Make file with `up` and `down` commands
- add `default-http{,s}-port` commands to add_servers.py
- 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 `https_custom_params` to templates
This commit is contained in:
@@ -7,26 +7,46 @@ services:
|
||||
context: ./certbot
|
||||
args:
|
||||
EMAIL: ${EMAIL}
|
||||
volumes:
|
||||
volumes: &volumes-config
|
||||
- ssl:/ssl
|
||||
- letsencrypt:/etc/letsencrypt
|
||||
depends_on:
|
||||
- nginx
|
||||
restart: unless-stopped
|
||||
|
||||
nginx:
|
||||
container_name: 'global-nginx'
|
||||
validate-config:
|
||||
container_name: "global-nginx-validate"
|
||||
build: ./nginx
|
||||
volumes:
|
||||
- ssl:/ssl
|
||||
- letsencrypt:/etc/letsencrypt
|
||||
volumes: *volumes-config
|
||||
entrypoint: ["/usr/sbin/nginx", "-t"]
|
||||
|
||||
nginx:
|
||||
container_name: "global-nginx"
|
||||
build: ./nginx
|
||||
volumes: *volumes-config
|
||||
depends_on:
|
||||
validate-config:
|
||||
condition: service_completed_successfully
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "50m"
|
||||
|
||||
volumes:
|
||||
ssl:
|
||||
name: ssl_nginx_ssl
|
||||
name: ssl_nginx_ssliver: local
|
||||
driver_opts:
|
||||
type: "none"
|
||||
o: "bind"
|
||||
device: "./data/ssl"
|
||||
|
||||
letsencrypt:
|
||||
name: ssl_nginx_letsencrypt
|
||||
name: ssl_nginx_letsencryptdriver: local
|
||||
driver_opts:
|
||||
type: "none"
|
||||
o: "bind"
|
||||
device: "./data/letsencrypt"
|
||||
|
||||
Reference in New Issue
Block a user