1 Star 0 Fork 2.7K

分时惠/jpress

forked from jiajianfa/jpress 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose-nginx.yml 1.32 KB
一键复制 编辑 原始数据 按行查看 历史
Michael Yang 提交于 2019-06-08 15:13 . v2.0.3
version: '3.1'
services:
db:
image: mysql:5.6
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD: jpress
MYSQL_DATABASE: jpress
MYSQL_USER: jpress
MYSQL_PASSWORD: jpress
volumes:
- "./docker_volumes/mysql:/var/lib/mysql"
jpress:
depends_on:
- db
links:
- db
image: fuhai/jpress:v2.0.2
restart: always
environment:
TZ: Asia/Shanghai
JPRESS_DB_HOST: db
JPRESS_DB_PORT: 3306
JPRESS_DB_NAME: jpress
JPRESS_DB_USER: jpress
JPRESS_DB_PASSWORD: jpress
volumes:
- "./docker_volumes/webapp/attachment:/opt/jpress/webapp/attachment"
- "./docker_volumes/webapp/addons:/opt/jpress/webapp/addons"
- "./docker_volumes/webapp/WEB-INF/addons:/opt/jpress/webapp/WEB-INF/addons"
- "./docker_volumes/webapp/wp-content:/opt/jpress/webapp/wp-content"
- "./docker_volumes/webapp/templates/dockers:/opt/jpress/webapp/templates/dockers"
nginx:
depends_on:
- jpress
links:
- jpress
image: nginx:1.17
volumes:
- "./nginx/nginx.conf:/etc/nginx/nginx.conf"
- "./nginx/cert:/etc/nginx/cert"
- "./docker_volumes/webapp/attachment:/etc/nginx/statics/attachment"
ports:
- "80:80"
restart: always
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/fenshihui/jpress.git
git@gitee.com:fenshihui/jpress.git
fenshihui
jpress
jpress
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385