add docker compose for nginx

This commit is contained in:
Christian Lempa 2024-04-24 17:06:49 +02:00
parent 84d7458d01
commit 630deefa72

View File

@ -0,0 +1,13 @@
---
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