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