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
User: msopen / msopen
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