Skip to content

nomadreservations/taskforce-connector-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TaskForce.sh connector (unofficial) {quay.io/nomadreservations/taskforce-connector-docker}

Taskforce.sh connector image for, lite-weight from apline for container installs

GitHub tag Docker Stars Docker Pulls

This image contains the taskforce.sh connector command in a node apline container.

Usage Example

{An example of running the container. Most Outrigger-based projects use docker-compose, so that kind of example is preferred but a docker run is also very helpful.}

docker run -ti taskforce-connector taskforce -n "localhost" -t <api-key> -h <redis-host> -p <redis-port> --passwd <redis-password>

For all command line options see the taskforce connector repository

Kubernetes deployment example:

apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: taskforce-connector
  name: taskforce-connector
spec:
  selector:
    matchLabels:
      app: taskforce-connector
  template:
    metadata:
      labels:
        app: taskforce-connector
    spec:
      containers:
      - name: taskforce-connector
        env:
          - name: API_KEY
            valueFrom:
              secretKeyRef:
                name: taskforce-connector
                key: api-key
          - name: NAME
            valueFrom:
              secretKeyRef:
                name: taskforce-connector
                key: name
          - name: HOST
            valueFrom:
              secretKeyRef:
                name: taskforce-connector
                key: host
          - name: PORT
            valueFrom:
              secretKeyRef:
                name: taskforce-connector
                key: port
          - name: REDIS_PASS
            valueFrom:
              secretKeyRef:
                name: taskforce-connector
                key: redis-password
        image: quay.io/nomadreservations/taskforce-connector-docker:latest
        command: ['taskforce']
        args: ["-t", "$(API_KEY)", "-n", "$(NAME)", "-h", "$(HOST)", "-p", "$(PORT)", "--passwd", "$(REDIS_PASS)"]
        imagePullPolicy: Always

To use this kubernetes example make sure you first create an appropriate secret for taskforce-connector.

Maintainers

Nomad Reservations Logo

About

Taskforce.sh (unofficial) dockerfile (see quay.io of same name)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published