Some checks failed
CI/CD Pipeline / unit-tests (push) Failing after 1m16s
CI/CD Pipeline / integration-tests (push) Failing after 2m32s
CI/CD Pipeline / lint (push) Successful in 5m22s
CI/CD Pipeline / e2e-tests (push) Has been skipped
CI/CD Pipeline / build (push) Has been skipped
25 lines
603 B
YAML
25 lines
603 B
YAML
# 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
|