Skip to content
This repository was archived by the owner on Mar 23, 2021. It is now read-only.

Commit 4d2e03b

Browse files
committed
feat(shell): docker-compose.yml,实现nginx配置
1 parent 7b388fd commit 4d2e03b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

dockerfiles/nginx/docker-compose.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: "3"
2+
services:
3+
nginx:
4+
container_name: nginx
5+
image: nginx
6+
ports:
7+
- "80:80"
8+
volumes:
9+
- "~/nginx/www:/opt/www"
10+
- "~/nginx/logs:/var/log/nginx"
11+
- "~/nginx/conf.d:/etc/nginx/conf.d"
12+
- "~/nginx/nginx.conf:/etc/nginx/nginx.conf"
13+
restart: always

0 commit comments

Comments
 (0)