Commit 9116d7cb authored by Kunkka王辉's avatar Kunkka王辉 😲

nginx 替换openresty

parent b6de9731
...@@ -53,9 +53,10 @@ services: ...@@ -53,9 +53,10 @@ services:
- JAVA_FLOWENGINE_URI=java-flowengine-${ENV:-dev} - JAVA_FLOWENGINE_URI=java-flowengine-${ENV:-dev}
- JAVE_INTELLIGENTWRITING_URI=java-intelligentwriting-${ENV:-dev} - JAVE_INTELLIGENTWRITING_URI=java-intelligentwriting-${ENV:-dev}
- JAVA_BIZ_PLATFORM_URI=java-biz-platform-${ENV:-dev} - JAVA_BIZ_PLATFORM_URI=java-biz-platform-${ENV:-dev}
image: galaxy-nginx image: harbor.galaxy-immi.com/galaxy-open-develop/openresty:1.21
depends_on: depends_on:
- php7 - php7
- php8
- java-biz-platform - java-biz-platform
- java-client - java-client
- java-flowengine - java-flowengine
......
FROM nginx:latest FROM openresty/openresty:1.21.4.2-0-buster-fat
ENV TZ=Asia/Shanghai ENV TZ=Asia/Shanghai
ENV LANG=C.UTF-8
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
COPY nginx-start.sh /docker-entrypoint.sh
RUN chmod +x /docker-entrypoint.sh
ENTRYPOINT ["/docker-entrypoint.sh"] ENTRYPOINT ["/docker-entrypoint.sh"]
COPY nginx-start.sh /docker-entrypoint.d/nginx-start.sh
RUN chmod +x /docker-entrypoint.d/nginx-start.sh
EXPOSE 80 EXPOSE 80
STOPSIGNAL SIGQUIT STOPSIGNAL SIGQUIT
WORKDIR /app WORKDIR /app
......
...@@ -623,4 +623,6 @@ CONSULTANT_MODULE_URL=$HOST:1234#缺省 ...@@ -623,4 +623,6 @@ CONSULTANT_MODULE_URL=$HOST:1234#缺省
MEMBER_MODULE_URL=$HOST:$GALAXY_MEMBER_API_HTTP_PORT MEMBER_MODULE_URL=$HOST:$GALAXY_MEMBER_API_HTTP_PORT
PRESALE_MODULE_URL=$HOST:$GALAXY_PRESALE_MICROS_API_HTTP_PORT PRESALE_MODULE_URL=$HOST:$GALAXY_PRESALE_MICROS_API_HTTP_PORT
WORKFLOW_MODULE_URL=$HOST:$GALAXY_FLOW_MICROS_API_HTTP_PORT WORKFLOW_MODULE_URL=$HOST:$GALAXY_FLOW_MICROS_API_HTTP_PORT
EOL EOL
\ No newline at end of file
exec "$@"
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment