1
Write the service
Save this as No
compose.yaml:compose.yaml
ports: section. The agent listens on nothing.2
Put the secrets in .env
Next to If the database runs in the same Compose project, use its service name as
compose.yaml, create .env and keep it out of version control:.env
<host>.3
Start it
serving dataset in the logs.cubit-agent volume and ignores CUBIT_ENROLL_TOKEN. You can remove the token from .env.