update 2025-04-06
Changes: - fix README.md old json format usage - rename "redirect" option to "proxy_pass" - move docker-compose.yml and nginx.conf.j2 to examples and add to .gitignore - fix situation when one domain from domains.txt and servers.yaml appeared twice in nginx.conf
This commit is contained in:
32
docker-compose.yaml.example
Normal file
32
docker-compose.yaml.example
Normal file
@@ -0,0 +1,32 @@
|
||||
name: ssl_nginx
|
||||
|
||||
services:
|
||||
certbot:
|
||||
container_name: 'global-certbot'
|
||||
build:
|
||||
context: ./certbot
|
||||
args:
|
||||
EMAIL: ${EMAIL}
|
||||
volumes:
|
||||
- ssl:/ssl
|
||||
- letsencrypt:/etc/letsencrypt
|
||||
depends_on:
|
||||
- nginx
|
||||
restart: unless-stopped
|
||||
|
||||
nginx:
|
||||
container_name: 'global-nginx'
|
||||
build: ./nginx
|
||||
volumes:
|
||||
- ssl:/ssl
|
||||
- letsencrypt:/etc/letsencrypt
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
ssl:
|
||||
name: ssl_nginx_ssl
|
||||
letsencrypt:
|
||||
name: ssl_nginx_letsencrypt
|
||||
Reference in New Issue
Block a user