cfg

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2020 License: MIT Imports: 4 Imported by: 3

Documentation

Overview

Package cfg provides the daemon's core configuration

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Directories
	ProjectDirectory string // "/app/host/inertia/project/"
	PersistDirectory string // "/app/host/inertia/persist"
	DataDirectory    string // "/app/host/inertia/data/"
	SecretsDirectory string // "/app/host/.inertia/"

	// Build tools
	DockerComposeVersion string // "docker/compose:${version}"

	WebhookSecret string
}

Config provides basic daemon configuration

func New

func New() *Config

New creates a new daemon configuration from environment values

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL