Docker compose

In order to facilitate the initial installation of the dashboard, please refer to this compose file that you can run locally to check that everything is running, just note that if you run the containers in localhost, you will need to configure Auth0 accordingly.

services:
  backend:
    image: docker.taskforce.sh/onprem/dashboard:1.0.0
    restart: always
    ports:
      - "9876:9876"
    environment:
      LICENSE_KEY: ${LICENSE_KEY}
      HOST: ${HOST}
      POSTGRES_HOST: postgres
      POSTGRES_PASSWD: ${POSTGRES_PASSWORD}
      POSTGRES_DB: ${POSTGRES_DB}
      AUTH0_CLIENTID: ${AUTH0_CLIENTID}
      AUTH0_DOMAIN: ${AUTH0_DOMAIN}
      AUTH0_AUDIENCE: ${AUTH0_AUDIENCE}
      REDIS_URL: redis://redis:6379
      MAILGUN_DOMAIN: ${MAILGUN_DOMAIN}
      MAILGUN_API_KEY: ${MAILGUN_API_KEY}

  postgres:
    image: postgres:latest
    expose:
      - "5432"
    restart: always
    ports:
      - "5432:5432"
    environment:
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
      POSTGRES_USER: ${POSTGRES_USER}
      POSTGRES_DB: ${POSTGRES_DB}

  redis:
    image: redis:latest
    restart: always
    ports:
      - "6379:6379"

As soon as the instance is up and running, you could try to use the taskforce-connector to expose the Redis instance that is running in docker to your Taskforce.sh instance. Then you should be able to see the "monitoring" queue that handles the monitor checks and alerts for the rest of your connections.

Last updated