-
Notifications
You must be signed in to change notification settings - Fork 13
/
docker-compose.test.yml
30 lines (26 loc) · 1.15 KB
/
docker-compose.test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
version: '3'
services:
mid-server:
platform: linux/arm64
#platform: linux/amd64
#user: 1005120000:1005120000
build:
context: ./docker
args:
#URL: https://install.service-now.com/glide/distribution/builds/package/app-signed/mid/2022/01/04/mid.rome-06-23-2021__patch5-12-15-2021_01-04-2022_2221.linux.x86-64.zip
#ARM_VERSION: rome-06-23-2021__patch5-12-15-2021_01-04-2022_2221
URL: https://install.service-now.com/glide/distribution/builds/package/mid/2022/04/26/mid.quebec-12-09-2020__patch10-hotfix4-04-01-2022_04-26-2022_1133.linux.x86-64.zip
ARM_VERSION: quebec-12-09-2020__patch10-hotfix4-04-01-2022_04-26-2022_1133
env_file:
- ./test/.env
environment:
- 'EXT_PARAMS=[{ "name": "mid.ssl.bootstrap.default.target_endpoint", "value": "sn.local", "type":"add" },{ "name": "mid.poll.time", "value": "5", "type":"add" }]'
restart:
unless-stopped
volumes:
- ./test/custom_ca.crt:/opt/agent/custom_ca.crt
#healthcheck:
# test: pgrep -af wrapper-linux-x86-64 | grep `cat /opt/agent/work/mid.pid` || exit 1
# interval: 15s
# timeout: 5s
# retries: 6