21 Star 61 Fork 36

wuwenbin / bookmark

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
docker-compose.yml 768 Bytes
Copy Edit Web IDE Raw Blame History
wuwenbin authored 2018-03-21 15:59 . 修改script目录挂载位置
version: '3'
services:
nginx:
image: registry.cn-hangzhou.aliyuncs.com/wuwenbin/bookmark:0.1.0
command:
- nginx
- -c
- /data/app/nginx.conf
ports:
- "80:80"
php-fpm:
network_mode: "service:nginx"
image: registry.cn-hangzhou.aliyuncs.com/wuwenbin/bookmark:0.1.0
command:
- php-fpm7
- -y
- /data/app/php-fpm.conf
- -F
- -R
volumes:
- "/data/bookmark/config:/data/app/root/config"
- "/data/bookmark/script:/data/app/script"
mysql:
network_mode: "service:nginx"
image: registry.cn-hangzhou.aliyuncs.com/wuwenbin/mysql:5.7.21
environment:
- MYSQL_ROOT_PASSWORD=123456
volumes:
- "/data/bookmark/mysql:/var/lib/mysql"
- "/data/bookmark/mysql-init:/var/lib/mysql-init"

Comment ( 0 )

Sign in for post a comment

PHP
1
https://gitee.com/wuwenbin/bookmark.git
git@gitee.com:wuwenbin/bookmark.git
wuwenbin
bookmark
bookmark
master

Search

105716 1d94204e 1850385 105716 2d26be5c 1850385