Currently, I am using camunda 8 self-managed environment using docker compose below I have shared my docker compose file
connectors: # https://docs.camunda.io/docs/components/integration-framework/connectors/out-of-the-box-connectors/available-connectors-overview/
image: camunda/connectors-bundle@sha256:8ead6c625b6b2b82a73925f78313a27938a2241d8feab0a67d84fbf788cd3396
container_name: connectors
ports:
- "8085:8080"
environment:
- ZEEBE_CLIENT_BROKER_GATEWAY-ADDRESS=zeebe:26500
- ZEEBE_CLIENT_SECURITY_PLAINTEXT=true
- CAMUNDA_OPERATE_CLIENT_URL=http://operate:8080
- CAMUNDA_OPERATE_CLIENT_USERNAME=demo
- CAMUNDA_OPERATE_CLIENT_PASSWORD=demo
- management.endpoints.web.exposure.include=health
- management.endpoint.health.probes.enabled=true
- CAMUNDA_API_KEY_FILE=./secrets/connector-secrets.txt
healthcheck:
test: [ "CMD-SHELL", "curl -f http://localhost:8080/actuator/health/readiness" ]
interval: 30s
timeout: 1s
retries: 5
start_period: 30s
env_file: ./secrets/connector-secrets.txt
volumes:
- ./secrets:/serects
networks:
- camunda-platform
depends_on:
- zeebe
- operate
connector-secrets.txt
API_KEY=SG.yjfS2B1iQHGMyFaeX_apOw.sstdytfugiopf[erofet6ru787e8fyuiherjlkvleucgyodec
From BPMN I am trying to access API_KEY which I have stored in ./secrets/connector-secrets.txt file
When I debugged, I saw value was not coming.