diff --git a/.github/workflows/build-proxy.yml b/.github/workflows/build-proxy.yml index 7444bcaa8..02021820b 100644 --- a/.github/workflows/build-proxy.yml +++ b/.github/workflows/build-proxy.yml @@ -46,7 +46,7 @@ jobs: - name: Run Aerospike Proxy on latest tag # TODO: not sure why aerospike-proxy.yml couldn't be included in Docker image... - run: docker run -d --name aerospike-proxy -p 4000:4000 -v aerospike-proxy.yml:/etc/aerospike-proxy/aerospike-proxy.yml ${{ vars.JFROG_PROXY_SERVER_DOCKER_REPO }}:${{ env.LATEST_TAG }} + run: docker run -d --name aerospike-proxy -p 4000:4000 -v ./aerospike-proxy.yml:/etc/aerospike-proxy/aerospike-proxy.yml ${{ vars.JFROG_PROXY_SERVER_DOCKER_REPO }}:${{ env.LATEST_TAG }} working-directory: .github/workflows/test-configs - name: Run Aerospike server diff --git a/.github/workflows/test-configs/aerospike-proxy.yml b/.github/workflows/test-configs/aerospike-proxy.yml index e69de29bb..0ffa648c9 100644 --- a/.github/workflows/test-configs/aerospike-proxy.yml +++ b/.github/workflows/test-configs/aerospike-proxy.yml @@ -0,0 +1,32 @@ +# Change the configuration for your use case. +service: + # The proxy's listening ports, TLS and network interfaces. + ports: + 4000: { } + # The proxy's management API listening ports, TLS and network interfaces. + manage: + 4040: { } + # Target Aerospike cluster and embedded client configuration. + aerospike: + seeds: + - localhost: + port: 3000 + # Policy overrides for incoming transactions + policy-overrides: + batch-policy: + total-timeout: 30_000 + # + # Only if security should be enabled. + # + security: + credentials-store: + type: file + credentials-file: samples/credentials.yml + auth-token: + private-key: samples/tls/private_key.pem + public-key: samples/tls/public_key.pem + # The logging properties. + logging: + format: json + file: /var/log/aerospike-proxy/aerospike-proxy.log + enable-console-logging: true