felia/.nginx/self/docker-compose.yml

20 lines
361 B
YAML
Raw Normal View History

2022-09-28 05:13:33 +00:00
version: '3'
services:
nginx:
image: jonasal/nginx-certbot:latest
restart: unless-stopped
environment:
- CERTBOT_EMAIL=pegasucksgg@gmail.com
- STAGING=1
- DEBUG=1
ports:
- 80:80
- 443:443
volumes:
- nginx_secrets:/etc/letsencrypt
- ./user_conf.d:/etc/nginx/user_conf.d
volumes:
nginx_secrets: