🐳 Work about Docker. 修改dockerfile

This commit is contained in:
冷冷 committed 2019-04-15 19:33:38 +08:00
1 parent 0e01930d62
commit 447cbf09f4
3 files changed
+10 -2

No files matched your search

+8
View File
@@ -115,6 +115,14 @@ services:
image: pigx-codegen
container_name: pigx-codegen
pigx-mp-manager:
build:
context: ./
dockerfile: ./pigx-visual/pigx-mp-manager/Dockerfile
restart: always
image: pigx-mp-manager
container_name: pigx-mp-manager
pigx-activiti:
build:
context: ./
@@ -13,7 +13,7 @@ spring:
driver-class-name: com.mysql.cj.jdbc.Driver
username: ${MYSQL-USER:root}
password: ${MYSQL-PWD:root}
url: jdbc:mysql://${MYSQL-HOST:pigx-mysql}:${MYSQL-PORT:3306}/${MYSQL-DB:pigxx}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8
url: jdbc:mysql://${MYSQL-HOST:pigx-mysql}:${MYSQL-PORT:3306}/${MYSQL-DB:pigxx_mp}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8
hikari:
connection-init-sql: SET NAMES utf8mb4
resources:
+1 -1
View File
@@ -8,7 +8,7 @@ RUN mkdir -p /pigx-mp-manager
WORKDIR /pigx-mp-manager
EXPOSE 5003
EXPOSE 6000
ADD ./pigx-visual/pigx-mp-manager/target/pigx-mp-manager.jar ./