Skip to content
This repository has been archived by the owner on Dec 13, 2021. It is now read-only.

OverOps Docker image for Remote Collector

Notifications You must be signed in to change notification settings

timveil-overops/oo-docker-remote-collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OverOps Docker Image for Remote Collector

Please note, this is not an official OverOps repository or Docker image

This image contains an OverOps Remote Collector. More info on this image can be found on DockerHub.

Although the image contains defaults for all build arguments (see docker build and --build-arg), to function properly, the image must be built with actual values from your environment or passed to the image using the appropriate run time environment variable (see docker run and -e). This image accepts the following parameters.

Build and Run Parameters

Currently build arguments passed to the Dockerfile are removed in favor of their environment variable equivalents which should be provided when executing docker run.

build-arg default value environment variable note
SECRET_KEY see Dockerfile TAKIPI_SECRET_KEY default secret key is invalid and must be replaced
COLLECTOR_PORT 6060 TAKIPI_LISTEN_PORT port this Collector is listening on
MACHINE_NAME collector-container TAKIPI_MACHINE_NAME human readable name of the container

Examples

Building the Image

docker build \
    --no-cache \
    -t timveil/oo-docker-remote-collector:latest \
    --build-arg SECRET_KEY="S3875#YAFwDEGg5oSIU+TM#G0G7VATLOqJIKtAMy1MObfFINaQmVT5hGYLQ+cpPuq4=#87a1" \
    --build-arg COLLECTOR_PORT=6060 .

Publishing the Image

docker push timveil/oo-docker-remote-collector:latest

Running the Image

docker run \
    -e TAKIPI_SECRET_KEY="S3875#YAFwDEGg5oSIU+TM#G0G7VATLOqJIKtAMy1MObfFINaQmVT5hGYLQ+cpPuq4=#87a1" \
    -e TAKIPI_LISTEN_PORT=6060 \
    timveil/oo-docker-remote-collector:latest