diff --git a/jeecg-boot/jeecg-cloud-module/jeecg-cloud-example/Dockerfile b/jeecg-boot/jeecg-cloud-module/jeecg-cloud-example/Dockerfile index ace0cccd7ca65d970a2a045653074432a027d069..489deb9863e6f7d39dd81bb48188d6d89d068fdf 100644 --- a/jeecg-boot/jeecg-cloud-module/jeecg-cloud-example/Dockerfile +++ b/jeecg-boot/jeecg-cloud-module/jeecg-cloud-example/Dockerfile @@ -4,13 +4,13 @@ MAINTAINER jeecgos@163.com RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime -RUN mkdir -p /jeecg-cloud-demo +RUN mkdir -p /jeecg-cloud-example -WORKDIR /jeecg-cloud-demo +WORKDIR /jeecg-cloud-example EXPOSE 7001 -ADD ./target/jeecg-cloud-demo-2.4.2.jar ./ +ADD ./target/jeecg-cloud-example-2.4.2.jar ./ -CMD java -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar jeecg-cloud-demo-2.4.2.jar +CMD java -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar jeecg-cloud-example-2.4.2.jar diff --git a/jeecg-boot/jeecg-cloud-module/jeecg-cloud-gateway/src/main/resources/logback-spring.xml b/jeecg-boot/jeecg-cloud-module/jeecg-cloud-gateway/src/main/resources/logback-spring.xml new file mode 100644 index 0000000000000000000000000000000000000000..6bffa75eb43327f43913026e5d0c27b6181b961b --- /dev/null +++ b/jeecg-boot/jeecg-cloud-module/jeecg-cloud-gateway/src/main/resources/logback-spring.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %highlight(%-5level) %cyan(%logger{50}:%L) - %msg%n + + + + + + + + ${LOG_HOME}/jeecgboot-%d{yyyy-MM-dd}.%i.log + + 30 + 10MB + + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50}:%L - %msg%n + + + + + + + + + + + + + + + + + \ No newline at end of file