self-host/proxy/nginx/docker-compose.yml

18 lines
298 B
YAML
Raw Normal View History

2025-03-09 15:51:47 +00:00
services:
nginx:
image: nginx:latest
container_name: nginx
2025-03-09 15:51:47 +00:00
ports:
- "80:80"
- "443:443"
volumes:
- ./conf.d:/etc/nginx/conf.d
- /etc/letsencrypt:/etc/letsencrypt:ro
restart: unless-stopped
networks:
- web
networks:
web:
external: true