update
This commit is contained in:
35
letsencrypt/Demo/SingleNode/docker-compose.yml
Normal file
35
letsencrypt/Demo/SingleNode/docker-compose.yml
Normal file
@@ -0,0 +1,35 @@
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
letsencrypt:
|
||||
image: harbor.colben.cn/general/letsencrypt
|
||||
container_name: letsencrypt
|
||||
restart: "no"
|
||||
stop_grace_period: 1m
|
||||
environment:
|
||||
DOMAINS: x1.xx.com,x2.xx.com
|
||||
network_mode: host
|
||||
volumes:
|
||||
- type: bind
|
||||
source: ./letsencrypt/etc
|
||||
target: /etc/letsencrypt
|
||||
- type: bind
|
||||
source: ./letsencrypt/log
|
||||
target: /var/log/letsencrypt
|
||||
|
||||
letsencrypt-wildcard:
|
||||
image: harbor.colben.cn/general/letsencrypt
|
||||
container_name: letsencrypt-wildcard
|
||||
restart: "no"
|
||||
stop_grace_period: 1m
|
||||
environment:
|
||||
DOMAINS: "*.xxx.com"
|
||||
network_mode: host
|
||||
volumes:
|
||||
- type: bind
|
||||
source: ./letsencrypt-wildcard/etc
|
||||
target: /etc/letsencrypt
|
||||
- type: bind
|
||||
source: ./letsencrypt-wildcard/log
|
||||
target: /var/log/letsencrypt
|
||||
|
Reference in New Issue
Block a user