diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..6c4ecf2 --- /dev/null +++ b/compose.yml @@ -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