Metrics
0
Watch 18 Star 39 Fork 19

wuwenbin / bookmarkPHP

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
多用户网址书签管理工具,可作为浏览器内置书签功能的增补。 spread retract

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 )

You need to Sign in for post a comment

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

Help Search