-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathstart-kong-jeg-image.sh
executable file
·52 lines (43 loc) · 1.64 KB
/
start-kong-jeg-image.sh
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Delete the Kong Gateway container
docker rm -f kong-gateway-soap-xml-handling
export ARCHITECTURE=arm64
# Start Kong Gateway
docker run -d --name kong-gateway-soap-xml-handling \
--network=kong-net \
--link kong-database-soap-xml-handling-36:kong-database-soap-xml-handling-36 \
-e "KONG_DATABASE=postgres" \
-e "KONG_PG_HOST=kong-database-soap-xml-handling-36" \
-e "KONG_PG_USER=kong" \
-e "KONG_PG_PASSWORD=kongpass" \
-e "KONG_PROXY_ACCESS_LOG=/dev/stdout" \
-e "KONG_ADMIN_ACCESS_LOG=/dev/stdout" \
-e "KONG_PROXY_ERROR_LOG=/dev/stderr" \
-e "KONG_ADMIN_ERROR_LOG=/dev/stderr" \
-e "KONG_PROXY_LISTEN=0.0.0.0:7000, 0.0.0.0:7443 ssl http2" \
-e "KONG_ADMIN_LISTEN=0.0.0.0:7001, 0.0.0.0:7444 ssl http2" \
-e "KONG_ADMIN_GUI_LISTEN=0.0.0.0:7002, 0.0.0.0:7445 ssl" \
-e "KONG_ADMIN_GUI_URL=http://localhost:7002" \
-e "KONG_LOG_LEVEL=notice" \
-e "KONG_NGINX_WORKER_PROCESSES=1" \
-e "SOAP_USERNAME=KongUser" \
-e "SOAP_PASSWORD=KongP@sswOrd!" \
-e KONG_LICENSE_DATA \
-p 7000:7000 \
-p 7443:7443 \
-p 7001:7001 \
-p 7002:7002 \
-p 7444:7444 \
--platform linux/$ARCHITECTURE \
jeromeguillaume/kong-saxon:3.6.0.0-1.2.1-12.5
#-e "KONG_STREAM_LISTEN= 127.0.0.1:7099" \
#kong/kong-gateway:3.8.0.0
#kong/kong-gateway:3.7.1.1
#-e "LD_LIBRARY_PATH=/usr/local/lib/kongsaxon" \
#--mount type=bind,source="$(pwd)"/kong/saxon/so/$ARCHITECTURE,destination=/usr/local/lib/kongsaxon \
#jeromeguillaume/kong-saxon:3.7.1.1-12.5
#-e "KONG_NGINX_PROXY_GZIP=on" \
#-e "KONG_NGINX_PROXY_GZIP_VARY=on" \
#-e "KONG_NGINX_PROXY_GZIP_MIN_LENGTH=10" \
#-e "KONG_NGINX_PROXY_GZIP_TYPES=text/xml" \
#-e "KONG_NGINX_PROXY_GZIP_PROXIED=any" \
echo 'docker logs kong-gateway-soap-xml-handling -f'