# MadBase - Pillar: Worker # Scalable Compute Runtime services: worker: build: context: . target: worker-runtime image: madbase/worker:latest container_name: madbase_worker environment: - DATABASE_URL=${DATABASE_URL} - JWT_SECRET=${JWT_SECRET} - RUST_LOG=info restart: unless-stopped vmagent: image: victoriametrics/vmagent:latest container_name: madbase_vmagent volumes: - ./config/vmagent.yml:/etc/vmagent/prometheus.yml command: - "--remoteWrite.url=http://system-node:8428/api/v1/write" restart: unless-stopped networks: default: name: madbase external: true