-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.cfg
42 lines (35 loc) · 1.38 KB
/
settings.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[orchestrator]
# Shared secret string that will be used for communication between the plugin helper and orchestrator
shared_secret = "abcdef"
[sql]
# DB code can be globally enabled or disabled here
enabled = true
# Set init to true for the first execution to create the database then switch it to 'false' for persistence
# CAUTION - if 'true' this will reset your database
init = true
# 'connection_string' should be the sql connection string. eg. mysql://username:password@localhost/database
# if connection_string is empty and the above 'enabled' option is true, an in-memory (non-persistant) sqlite database will be used.
connection_string = "mysql2://root:uZBGpY5mHu1VBr@localhost/orchestrator"
[web]
# RESTful API listen address and port.
address = 127.0.0.1
port = 8998
[cert]
# The path under which certificates are stored
path = /etc/ssl/certs/orchestrator
# The key file relative to the above path
key = privkey.pem
# The certificate file relative to the above path
cert = cacert.pem
[docker]
# The address/port of the Docker helper application's RESTful API
helper_address = 127.0.0.1
helper_port = 8997
# The network details of Docker's API
# Should use the same host as above and in the helper's configuration file
url = 'http://127.0.0.1'
port = 4243
# Command to run within the image
command = /usr/bin/startscript
# Base image to launch on client connection
image = orchestrator/client