1 Star 0 Fork 1.3K

leafre/DWSurvey

forked from DWSurvey/DWSurvey 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 906 Bytes
一键复制 编辑 原始数据 按行查看 历史
Zhang Cheng 提交于 2017-07-11 15:37 . Update readme for docker usage
# 这个 compose 仅仅是一个参考,生产环境部署时,请根据实际情况调整参数
version: "3"
services:
db:
image: mariadb:10.3
restart: always
volumes:
- "mysql-data:/var/lib/mysql"
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=yes
- MYSQL_DATABASE=dwsurvey
- MYSQL_USER=dwsurvey
- MYSQL_PASSWORD=dwsurvey
dwsurvey:
image: wkeyuan/dwsurvey:latest
restart: always
volumes:
- "dwsurvey-wjHtml:/dwsurvey/WEB-INF/wjHtml"
- "dwsurvey-site:/dwsurvey/WEB-INF/classes/conf/site"
links:
- db
environment:
- MYSQL_HOST=db
- MYSQL_DATABASE=dwsurvey
- MYSQL_USER=dwsurvey
- MYSQL_PASSWORD=dwsurvey
- ADMIN_EMAIL=admin@example.com
- ADMIN_PASSWORD=123456
- CONTEXT_ROOT=/
ports:
- "8080:8080"
volumes:
mysql-data: {}
dwsurvey-wjHtml: {}
dwsurvey-site: {}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/leafre/DWSurvey.git
git@gitee.com:leafre/DWSurvey.git
leafre
DWSurvey
DWSurvey
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385