worker-service 0.2.0

Worker Service - A worker administration microservice that interoperates with the worker-matcher crate
logger:
  enable: false
  pretty_backtrace: true
  level: error
  format: compact

server:
  port: 5151
  binding: 0.0.0.0
  host: http://localhost
  middlewares:
    static:
      enable: true
      must_exist: true
      precompressed: false
      folder:
        uri: "/static"
        path: "assets/static"

workers:
  mode: ForegroundBlocking

database:
  uri: "{{ get_env(name=\"DATABASE_URL\", default=\"postgres://localhost/worker_service_test\") }}"
  enable_logging: false
  connect_timeout: 500
  idle_timeout: 500
  min_connections: 1
  max_connections: 5
  auto_migrate: true
  dangerously_truncate: true
  dangerously_recreate: false

auth:
  jwt:
    secret: "test-only-secret"
    expiration: 604800