Fix minor typo errors | Change Nginx for Caddy | Consolidate templates in this repo

This commit is contained in:
2025-01-24 02:57:53 -03:00
parent 21515daef1
commit ddf0301463
15 changed files with 254 additions and 35 deletions

View File

@@ -0,0 +1,22 @@
services:
nginx:
image: nginx:latest
ports:
- "80:80"
- "443:443"
volumes:
- ./static:/var/www/static # For static content delivery
- ./nginx/conf.d:/etc/nginx/conf.d # Your sites conf files
- ./nginx/nginx.conf:/etc/nginx/nginx.conf # Main NginX config file
- ./certbot/www:/var/www/certbot
- ./certbot/conf:/etc/letsencrypt # Stores certificates
restart: unless-stopped
depends_on:
- certbot
certbot:
image: certbot/certbot
volumes:
- ./certbot/www:/var/www/certbot
- ./certbot/conf:/etc/letsencrypt
restart: unless-stopped