1 Star 0 Fork 2.7K

volunteer521/jpress

forked from JPressProjects/jpress 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose-nginx.yml 1.32 KB
一键复制 编辑 原始数据 按行查看 历史
Michael Yang 提交于 2019-09-05 17:01 . v2.0.8 release (^.^)YYa!!
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.8
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/volunteer521/jpress.git
git@gitee.com:volunteer521/jpress.git
volunteer521
jpress
jpress
master

搜索帮助