修改最新代码不过还不是阿里云适配

This commit is contained in:
zhangbo 2024-01-03 15:20:52 +08:00
parent 8dd73c3a86
commit 876e4bbe92
5 changed files with 10 additions and 8 deletions

View File

@ -1,5 +1,6 @@
FROM 192.168.16.17/library/jjdk:1.8.0 #FROM 192.168.16.17/library/jjdk:1.8.0
MAINTAINER sunjian@lepudigital.com FROM openjdk:8-jre-slim
MAINTAINER zhangbo
VOLUME /tmp VOLUME /tmp
ENV LANG C.UTF-8 ENV LANG C.UTF-8
RUN mkdir -p /application/app RUN mkdir -p /application/app

View File

@ -1,7 +1,7 @@
version : '3' version : '3'
services: services:
mysql_service: mysql_service:
image: 192.168.16.17/library/mysql:5.7 image: 192.168.31.11/library/mysql:5.7
container_name: mysql_service container_name: mysql_service
environment: environment:
- "MYSQL_ROOT_PASSWORD=yzcxzsa@1234567" - "MYSQL_ROOT_PASSWORD=yzcxzsa@1234567"

View File

@ -1,7 +1,8 @@
version: '3' version: '3'
services: services:
testplatform_service: testplatform_service:
image: 192.168.16.17/library/lepu-test-platform-service:${branch} # image: 192.168.31.11/library/lepu-test-platform-service:${branch}
image: 180.76.106.6:18081/library/lepu-test-platform-service:${branch}
container_name: testplatform_service container_name: testplatform_service
ports: ports:
- "19527:9527" - "19527:9527"
@ -19,9 +20,9 @@ services:
- $SERVICE_DIR/testReports-bak:$SERVICE_DIR/testReports-bak - $SERVICE_DIR/testReports-bak:$SERVICE_DIR/testReports-bak
environment: environment:
- DB_HOST=$HOST_IP_ADDR - DB_HOST=$HOST_IP_ADDR
- DB_PORT=3316 - DB_PORT=3306
- DB_USER=root - DB_USER=root
- DB_PASSWORD=yzcxzsa@1234567 - DB_PASSWORD=123456
- DB_NAME=lepu_test_platform - DB_NAME=lepu_test_platform
- JIRA_DB_HOST=10.0.14.5 - JIRA_DB_HOST=10.0.14.5
- JIRA_DB_PORT=3316 - JIRA_DB_PORT=3316

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env bash
export SERVICE_DIR=/application/app export SERVICE_DIR=/application/app
export SERVICE1_VERSION=${branch} export SERVICE1_VERSION=${branch}
export HOST_IP_ADDR=192.168.16.17 export HOST_IP_ADDR=180.76.106.6

View File

@ -1,5 +1,5 @@
server: server:
ipPort: 192.168.16.17:19527 ipPort: 180.76.106.6:19527
port: 9527 port: 9527
servlet: servlet:
session: session: