Skip to content

sharingio/environment

Repository files navigation

Environment

The environment for pairing on Pair instances

A refinement and replacement for the container and Pair related components of humacs/humacs (a configuration for Emacs + Doom-Emacs). This environment is used when deployed in Pair instances. It contains many useful utilities, humacs for it’s Emacs configuration, and some useful general configuration.

Additional components include:

environment-exporter
a webserver to export a list of processes that are listening on ports
environment-exposer
a reconciler for creating Kubernetes Service and Ingress resources to map back to environment, based off of environment-exporter’s data

Variables

The following variables, when exported in the environment of a process that listens of UDP/TCP on all interfaces, will affect the way that processes are exposed using exporter/exposer on a Pair instance

NameDefaultDescription
SHARINGIO_PAIR_EXPOSER_DISABLEDfalsedisables the exporting of ports for the given process
SHARINGIO_PAIR_EXPOSER_HOSTNAMEprocess name + portspecifies a hostname for Ingresses, in place of the process name
SHARINGIO_PAIR_EXPOSER_ALLOWED_PORTSa space-separated allow list of ports to expose from the given process
SHARINGIO_PAIR_EXPOSER_DISABLED_PORTSa space-separated disable list of ports to not expose from the given process