thor.yml Configuration Reference¶
This topic describes thor.yml
file format version 1.0
.
thor.yml
is YAML file defining version and project keys and
noc, expose, and services sections.
version¶
File format version. Must have value 1.0
.
project¶
Project name. Defines docker containers name prefix. Used
to distingush container names when multiple thor projects
are used on same host. By default, the name of directory
in which the thor.yml
file locates is used as project name.
NOC Section¶
Defines common noc configuration.
tag¶
Defines docker image tag. Default value is master
.
path¶
NOC source code path to override container's /opt/noc
.
Used for development and allows to expose local changes
directly in container.
custom¶
NOC custom code path. Allows to mount NOC customizations from local host.
installation_name¶
Installation name as shown in web interface. Has default
value Unconfigured Installation
.
migrate¶
Run migrations on start. Has default value True
.
Expose Section¶
Web interface entrypoint configuration.
domain_name¶
Domain name for web interface. By default has the value go.getnoc.com
which techninally resolves to the localhost. When using default domain
name the Gufo Thor is able to sign the domain certificate in fully
transparent manner.
Warning
If you wish to change the domain_name
you have to
generate private key and sign the certificate by yourself.
port¶
Web interface port. 32777
is used by default.
open_browser¶
If set to true
, open https://<domain_name>:<port>/
in browser
on every gufo-thor up
Services Section¶
This section contains a list of services to start. Services can be specified as
- list of service names.
- mapping of service configuration items.
tag¶
Docker image tag to override global tag section for given service.
scale¶
Number of instances of service to launch. Note, not all services are scalable, so refer to the NOC Services Reference.