Linux_ubuntu_scripts/nginx-certbot-docker-compos...

16 lines
388 B
YAML
Raw Normal View History

2024-10-14 21:35:13 +00:00
version: '3'
services:
nginx:
image: nginx:1.27.2-alpine
ports:
- "80:80"
- "443:443"
volumes:
- ./data/nginx:/etc/nginx/conf.d
- ./data/certbot/conf:/etc/letsencrypt
- ./data/certbot/www:/var/www/certbot
2024-10-14 21:35:13 +00:00
certbot:
image: certbot/certbot
volumes:
- ./data/certbot/conf:/etc/letsencrypt
- ./data/certbot/www:/var/www/certbot