according to https://medium.com/@pentacent/nginx-and-lets-encrypt-with-docker-in-less-than-5-minutes-b4b8a60d3a71
22 lines
432 B
YAML
22 lines
432 B
YAML
version: '2'
|
|
services:
|
|
|
|
zammad-nginx:
|
|
environment:
|
|
- VIRTUAL_HOST=ticket.simplificator.com
|
|
volumes:
|
|
- ./data/nginx:/etc/nginx/conf.d
|
|
- ./data/certbot/conf:/etc/letsencrypt
|
|
- ./data/certbot/www:/var/www/certbot
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
|
|
certbot:
|
|
image: certbot/certbot
|
|
volumes:
|
|
- ./data/certbot/conf:/etc/letsencrypt
|
|
- ./data/certbot/www:/var/www/certbot
|
|
|
|
|