MCMS Docker

源码部署

git clone https://gitee.com/mingSoft/MCMS.git
CREATE DATABASE IF NOT EXISTS mcms DEFAULT CHARSET utf8 COLLATE utf8_general_ci;
#source mcms/doc/mcms-5.2.8.sql
/src/main/resources/application-dev.yml

Docker

docker run -d --name mcms -v $PWD/ms-mcms.jar:/maven.jar \
-e TZ=Asia/Shanghai -p 8080:8080 openjdk:8 java -jar maven.jar

nginx

docker run --name nginx -d \
-p 80:80 \
-v /data:/data \
-v /data/nginx/logs:/etc/nginx/logs \
-v /data/nginx/nginx.conf:/etc/nginx/nginx.conf \
--restart=always nginx:stable

nginx.conf配置

Screenshots

https://www.mingsoft.net/upload/1/cms/content/1630419069663.gif

http://doc.mingsoft.net/mcms/assets/yysz.png

http://doc.mingsoft.net/mcms/assets/jth.png