feat: add compose
This commit is contained in:
parent
264c992e49
commit
8d1027d23f
1 changed files with 12 additions and 0 deletions
12
compose.yml
Normal file
12
compose.yml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
services:
|
||||||
|
nginx:
|
||||||
|
image: git.dc09.ru/darkcat09/certbot-nginx:latest
|
||||||
|
build: .
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- "./example/letsencrypt:/etc/letsencrypt"
|
||||||
|
- "./example/nginx.conf:/etc/nginx/nginx.conf"
|
||||||
|
- "./example/http.d:/etc/nginx/http.d"
|
||||||
|
ports:
|
||||||
|
- 80:80
|
||||||
|
- 443:443
|
Loading…
Add table
Reference in a new issue