christianlempa-boilerplates/docker-compose/nginx/docker-compose.yaml

14 lines
282 B
YAML
Raw Normal View History

2024-04-24 17:06:49 +02:00
---
services:
nginx:
image: nginx:1.25.5-alpine
container_name: nginx
ports:
- 80:80
- 443:443
volumes:
- ./config/nginx.conf:/etc/nginx/nginx.conf
- ./certs:/etc/nginx/certs
- ./data:/usr/share/nginx/html
restart: unless-stopped