Deploying Custom Connectors
Deploy and register your custom connectors in Kubernetes and Docker.
Last updated
Was this helpful?
Was this helpful?
docker-compose build --build-arg BASEIMAGE_VERSION=2.0.0version: '2.4'
services:
# Run the example server
server:
build: .
network_mode: host # Using host network
entrypoint: ''
command: sh -c 'cd /app/src/protocols/custom/utils && node runServer.js'
agent:
build: .
network_mode: host # Using host network
volumes:
- agentData:/data
environment:
CYBUS_HOSTNAME_INGRESS: localhost # Assuming Cybus Connectware to be reachable on local system
CYBUS_AGENT_MODE: distributed
CYBUS_AGENT_NAME: CustomConnectorAgent
CYBUS_LOG_LEVEL: info
volumes:
agentData:docker-compose up -dOnce the custom connector is deployed, access the Admin UI to register it and make it available for use.