nginx-certbot/example/docker-compose.yml

15 lines
255 B
YAML

version: '3'
services:
proxy:
image: staticfloat/nginx-certbot
restart: always
environment:
CERTBOT_EMAIL: "your.email@example.com"
ports:
- "80:80"
- "443:443"
volumes:
- ./conf.d:/etc/nginx/user.conf.d:ro