Skip to content
Román SG edited this page Apr 16, 2018 · 1 revision

Docker compose

To add SLA Management to mF2C docker-compose file (https://github.com/mF2C/cimi/blob/master/_demo/docker-compose.yml), paste the following excerpt:

slalite:
    image: mf2c/sla-management
    depends_on:
     - elasticsearch
    environment:
     - SLA_CIMIURL=https://proxy:443/api
     - SLA_CIMIUSER=your-user
     - SLA_CIMIPWD=your-password
     - SLA_CIMIINSECURE=true
     - SLA_CIMIFAILFAST=false
    expose:
     - "8090"

Environment variables:

  • SLA_CIMIURL: CIMI server address
  • SLA_CIMIUSER: CIMI username; use "anon" if trying to connect as anonymous
  • SLA_CIMIPWD: CIMI pwd
  • SLA_CIMIINSECURE: Needed if using self-signed certificate; do not use in production!!! (import self-signed certificate instead)
  • SLA_CIMIFAILFAST: Do not fail on startup if cannot connect to CIMI (CIMI takes time to boot)
Clone this wiki locally