lepu-test-platform-service/compose/service/docker-compose.yml

39 lines
1.1 KiB
YAML

version: '3'
services:
testplatform_service:
# 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
ports:
- "19527:9527"
- "60000:60000"
- "60001:60001"
- "60002:60002"
- "4445:4445/udp"
- "4446:4446/udp"
- "1099:1099"
volumes:
- $SERVICE_DIR/tmp:$SERVICE_DIR/tmp
- $SERVICE_DIR/files:$SERVICE_DIR/files
- $SERVICE_DIR/logs:$SERVICE_DIR/logs
- $SERVICE_DIR/testReports:$SERVICE_DIR/testReports
- $SERVICE_DIR/testReports-bak:$SERVICE_DIR/testReports-bak
environment:
- DB_HOST=$HOST_IP_ADDR
- DB_PORT=3306
- DB_USER=root
- DB_PASSWORD=123456
- DB_NAME=lepu_test_platform
- JIRA_DB_HOST=10.0.14.5
- JIRA_DB_PORT=3316
- JIRA_DB_USER=jira_read
- JIRA_DB_PASSWORD=5Fl6IuXq0jf73PV3wm-
- JIRA_DB_NAME=jira
restart: always
networks:
- net-spring-db
networks:
net-spring-db:
driver: bridge