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
|
2024-10-14 21:50:05 +00:00
|
|
|
- ./data/certbot/conf:/etc/letsencrypt
|
|
|
|
|
- ./data/certbot/www:/var/www/certbot
|
2024-10-14 21:35:13 +00:00
|
|
|
certbot:
|
2024-10-14 21:50:05 +00:00
|
|
|
image: certbot/certbot
|
|
|
|
|
volumes:
|
|
|
|
|
- ./data/certbot/conf:/etc/letsencrypt
|
|
|
|
|
- ./data/certbot/www:/var/www/certbot
|