-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnio.conf
67 lines (53 loc) · 1.35 KB
/
nio.conf
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# n.io project configuration
#
[user_defined]
# host and port to launch rest web server on
NIOHOST=0.0.0.0
NIOPORT=8181
# Path to project root, leave blank to auto detect - it will use the root
# specified when running the binary (passed with -r or --root)
PROJECT_ROOT=
INSTANCE_NAME=local
INSTANCE_ID=local
API_KEY=
# Pubkeeper Client
PK_HOST=<your-system-id>.pubkeeper.nio.works
PK_PORT=443
PK_TOKEN=<your-pk-token>
PK_SECURE=True
PK_CA_CHAIN=
# WebsocketBrew Variables
WS_HOST=<your-system-id>.websocket.nio.works
WS_PORT=443
WS_SECURE=True
[logging]
conf=etc/logging.json
[pubkeeper_client]
token=[[PK_TOKEN]]
host=[[PK_HOST]]
port=[[PK_PORT]]
ca_chain=[[PK_CA_CHAIN]]
secure=[[PK_SECURE]]
# List of all the brews you wish to use with the system
# should be a comma separated list of the classes
#
brews=pubkeeper.brew.local.brew.LocalBrew, pubkeeper.brew.websocket.brew.WebsocketBrew
[pubkeeper.brew.local.brew.LocalBrew]
# use localhost rather than unix domain socket
# use_localhost=False
[pubkeeper.brew.websocket.brew.WebsocketBrew]
ws_host=[[WS_HOST]]
ws_port=[[WS_PORT]]
ws_secure=[[WS_SECURE]]
[rest]
# host and port to launch rest web server on
port=[[NIOPORT]]
host=[[NIOHOST]]
# path to ssl certificate files
ssl_certificate=
ssl_private_key=
# optional certificate chain
ssl_certificate_chain=
[instance]
instance_id=[[INSTANCE_ID]]
api_key=[[API_KEY]]