fix 修复 部署部分系统出现乱码问题

2.X
疯狂的狮子Li 1 year ago
parent 6635cef184
commit 5827cbb0a1

@ -8,7 +8,7 @@ RUN mkdir -p /ruoyi/auth/logs \
WORKDIR /ruoyi/auth
ENV SERVER_PORT=9210
ENV SERVER_PORT=9210 LANG=C.UTF-8 LC_ALL=C.UTF-8
EXPOSE ${SERVER_PORT}

@ -8,7 +8,7 @@ RUN mkdir -p /ruoyi/gateway/logs \
WORKDIR /ruoyi/gateway
ENV SERVER_PORT=8080
ENV SERVER_PORT=8080 LANG=C.UTF-8 LC_ALL=C.UTF-8
EXPOSE ${SERVER_PORT}

@ -6,7 +6,7 @@ RUN mkdir -p /ruoyi/gen/logs
WORKDIR /ruoyi/gen
ENV SERVER_PORT=9202
ENV SERVER_PORT=9202 LANG=C.UTF-8 LC_ALL=C.UTF-8
EXPOSE ${SERVER_PORT}

@ -8,7 +8,7 @@ RUN mkdir -p /ruoyi/job/logs \
WORKDIR /ruoyi/job
ENV SERVER_PORT=9203
ENV SERVER_PORT=9203 LANG=C.UTF-8 LC_ALL=C.UTF-8
EXPOSE ${SERVER_PORT}

@ -8,7 +8,7 @@ RUN mkdir -p /ruoyi/resource/logs \
WORKDIR /ruoyi/resource
ENV SERVER_PORT=9204
ENV SERVER_PORT=9204 LANG=C.UTF-8 LC_ALL=C.UTF-8
EXPOSE ${SERVER_PORT}

@ -8,7 +8,7 @@ RUN mkdir -p /ruoyi/system/logs \
WORKDIR /ruoyi/system
ENV SERVER_PORT=9201
ENV SERVER_PORT=9201 LANG=C.UTF-8 LC_ALL=C.UTF-8
EXPOSE ${SERVER_PORT}

@ -6,6 +6,8 @@ RUN mkdir -p /ruoyi/monitor/logs
WORKDIR /ruoyi/monitor
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
EXPOSE 9100
ADD ./target/ruoyi-monitor.jar ./app.jar

@ -8,7 +8,7 @@ WORKDIR /ruoyi/nacos
EXPOSE 8848
ENV TZ=Asia/Shanghai JAVA_OPTS="-Xms256m -Xmx512m"
ENV TZ=Asia/Shanghai LANG=C.UTF-8 LC_ALL=C.UTF-8 JAVA_OPTS="-Xms256m -Xmx512m"
ADD ./target/ruoyi-nacos.jar ./app.jar

@ -6,6 +6,8 @@ RUN mkdir -p /ruoyi/powerjob/logs
WORKDIR /ruoyi/powerjob
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
EXPOSE 7700
ADD ./target/ruoyi-powerjob-server.jar ./app.jar

@ -7,7 +7,7 @@ RUN mkdir -p /ruoyi/seata-server/logs \
WORKDIR /ruoyi/seata-server
ENV TZ=PRC
ENV TZ=PRC LANG=C.UTF-8 LC_ALL=C.UTF-8
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
EXPOSE 7091

@ -7,6 +7,8 @@ RUN mkdir -p /ruoyi/sentinel-dashboard/logs \
WORKDIR /ruoyi/sentinel-dashboard
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
EXPOSE 8718
ADD ./target/ruoyi-sentinel-dashboard.jar ./app.jar

Loading…
Cancel
Save