diff --git a/assets/docker-compose.yml b/assets/docker-compose.yml index 8046a52c..b497d4da 100644 --- a/assets/docker-compose.yml +++ b/assets/docker-compose.yml @@ -3,6 +3,12 @@ version: '3.5' networks: pongo-test-network: name: ${SERVICE_NETWORK_NAME} + driver: bridge + attachable: true + ipam: + config: + - subnet: 192.168.56.0/21 + gateway: 192.168.56.1 services: expose: diff --git a/assets/pongo_entrypoint.sh b/assets/pongo_entrypoint.sh index 35750fd5..b1e922ac 100755 --- a/assets/pongo_entrypoint.sh +++ b/assets/pongo_entrypoint.sh @@ -69,6 +69,8 @@ export KONG_LOG_LEVEL=debug export KONG_SPEC_REDIS_HOST=redis # Kong test-helpers 3.0.0+ export KONG_SPEC_TEST_REDIS_HOST=redis +# Support Redis Cluster +export KONG_SPEC_TEST_REDIS_CLUSTER_ADDRESSES='["rc-node-1:6379","rc-node-2:6379","rc-node-3:6379"]' # set the certificate store export KONG_LUA_SSL_TRUSTED_CERTIFICATE=/etc/ssl/certs/ca-certificates.crt