docker for nginx
发表于 -
22年03月20日00时31分
nginx
├── docker-compose.yml
└── html
└── index.html
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
hello nginx
</body>
</html>
version: '3.7'
services:
nginx:
image: nginx:alpine
container_name: nginx
volumes:
- ./html:/usr/share/nginx/html
^_^成为第一个评论的人吧!
评论
昵称
邮箱 (回复通知)
站点
内容 (支持Markdown语法)