Commit 367bc34c authored by Kunkka王辉's avatar Kunkka王辉 😲

脚本优化

parent 77e07b93
version: "3.8"
services:
php7:
build:
context: src
dockerfile: Dockerfile-php
image: galaxy-php:7.4
image: harbor.galaxy-immi.com/galaxy-php/php:7.4
container_name: galaxy-php7.4-${ENV:-dev}
volumes: # 前后端代码统一放一个目录管理
- ${CODE_DIR}:/app/www
......@@ -62,10 +59,7 @@ services:
- "${PORT_CRM:-8181}:8181"
restart: on-failure
java-notice:
build:
context: src
dockerfile: Dockerfile-java
image: harbor.galaxy-immi.com/galaxy-java/java:11
image: harbor.galaxy-immi.com/galaxy-open-develop/java:11
container_name: java-notice-${ENV:-dev}
command: ['java','-jar','/app/app.jar','--spring.profiles.active=${JAVA_PROFILE:-innerdev}','--server.port=80']
volumes:
......@@ -77,10 +71,7 @@ services:
- galaxy-net
restart: on-failure
java-biz-platform:
build:
context: src
dockerfile: Dockerfile-java
image: harbor.galaxy-immi.com/galaxy-java/java:11
image: harbor.galaxy-immi.com/galaxy-open-develop/java:11
container_name: java-biz-platform-${ENV:-dev}
volumes:
- ${CODE_DIR}/biz-platform:/app/code
......@@ -92,10 +83,7 @@ services:
- galaxy-net
restart: on-failure
java-flowengine:
build:
context: src
dockerfile: Dockerfile-java
image: harbor.galaxy-immi.com/galaxy-java/java:11
image: harbor.galaxy-immi.com/galaxy-open-develop/java:11
container_name: java-flowengine-${ENV:-dev}
volumes:
- ${CODE_DIR}/flowengine:/app/code
......@@ -107,10 +95,7 @@ services:
- galaxy-net
restart: on-failure
java-intelligentwriting:
build:
context: src
dockerfile: Dockerfile-java
image: harbor.galaxy-immi.com/galaxy-java/java:11
image: harbor.galaxy-immi.com/galaxy-open-develop/java:11
container_name: java-intelligentwriting-${ENV:-dev}
volumes:
- ${CODE_DIR}/intelligentwriting:/app/code
......@@ -122,10 +107,7 @@ services:
- galaxy-net
restart: on-failure
java-client:
build:
context: src
dockerfile: Dockerfile-java
image: harbor.galaxy-immi.com/galaxy-java/java:11
image: harbor.galaxy-immi.com/galaxy-open-develop/java:11
container_name: java-client-${ENV:-dev}
volumes:
- ${CODE_DIR}/client:/app/code
......
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