mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-25 01:34:36 +01:00
add docker compose for nginx
This commit is contained in:
parent
84d7458d01
commit
630deefa72
13
docker-compose/nginx/docker-compose.yaml
Normal file
13
docker-compose/nginx/docker-compose.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user