Skip to content

Commit

Permalink
Forgot to add config file contents, use proper path for docker volume…
Browse files Browse the repository at this point in the history
… source
  • Loading branch information
juliannguyen4 committed Jul 12, 2024
1 parent dc9dcb7 commit 27d8cb9
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/test-configs/aerospike-proxy.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 27d8cb9

Please sign in to comment.