docker/_nginx/compose.yaml
2023-12-23 18:18:42 +01:00

29 lines
452 B
YAML

---
services:
nginx:
container_name: nginx
build: .
restart: unless-stopped
ports:
- "80:80"
- "443:443"
- "8448:8448" # matrix federation
volumes:
- sites:/etc/nginx/conf.d/
- certs:/etc/letsencrypt/
- certbotroot:/var/www/certbot/
networks:
- nginx
volumes:
sites:
name: sites
certs:
name: certs
certbotroot:
name: certbotroot
networks:
nginx:
name: nginx