1
0
This commit is contained in:
2026-04-20 15:07:14 +08:00
parent e6b59ef113
commit c16498c04d
17 changed files with 182 additions and 66 deletions

10
docker-compose.nginx.yml Normal file
View File

@@ -0,0 +1,10 @@
services:
nginx:
image: nginx:1.27-alpine
container_name: example-com-nginx
restart: unless-stopped
ports:
- "80:80"
volumes:
- /opt/1panel/www/sites/example.com/index:/usr/share/nginx/html:ro
- ./nginx/conf.d/default.conf:/etc/nginx/conf.d/default.conf:ro