-
-
Notifications
You must be signed in to change notification settings - Fork 751
/
Copy pathst2.dev.conf
136 lines (109 loc) · 3.21 KB
/
st2.dev.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# Config used by local development environment (tools/launch.dev.sh)
[database]
host = 127.0.0.1
[api]
# Host and port to bind the API server.
host = 127.0.0.1
port = 9101
logging = st2api/conf/logging.conf
mask_secrets = True
# allow_origin is required for handling CORS in st2 web UI.
# allow_origin = http://myhost1.example.com:3000,http://myhost2.example.com:3000
# Development vagrant VM is setup to run on 172.168.50.50.
allow_origin = *
[keyvalue]
encryption_key_path = conf/st2_kvstore_demo.crypto.key.json
[stream]
# Host and port to bind the API server.
host = 127.0.0.1
port = 9102
logging = st2stream/conf/logging.conf
# allow_origin is required for handling CORS in st2 web UI.
# allow_origin = http://myhost1.example.com:3000,http://myhost2.example.com:3000
# Development vagrant VM is setup to run on 172.168.50.50.
allow_origin = http://172.168.50.50:3000
[sensorcontainer]
logging = st2reactor/conf/logging.sensorcontainer.conf
sensor_node_name = sensornode1
partition_provider = name:default
[rulesengine]
logging = st2reactor/conf/logging.rulesengine.conf
[timersengine]
logging = st2reactor/conf/logging.timersengine.conf
[actionrunner]
logging = st2actions/conf/logging.conf
stream_output = True
[rbac]
enable = False
[auth]
host = 127.0.0.1
port = 9100
use_ssl = False
debug = False
enable = False
logging = st2auth/conf/logging.conf
mode = standalone
backend = flat_file
backend_kwargs = {"file_path": "st2auth/conf/htpasswd_dev"}
# Base URL to the API endpoint excluding the version (e.g. http://myhost.net:9101/)
api_url = http://127.0.0.1:9101/
[system]
debug = True
base_path = /opt/stackstorm
validate_trigger_parameters = True
validate_output_schema = True
[garbagecollector]
logging = st2reactor/conf/logging.garbagecollector.conf
action_executions_ttl = 30
trigger_instances_ttl = 30
[syslog]
host = 127.0.0.1
port = 514
facility = local7
protocol = udp
[coordination]
# NOTE: Service registry / groups functionality is only available in the following drivers:
# - zookeeper
# - redis
# - etcd3
# - etcd3gw
# Keep in mind that zake driver works in process so it won't work when testing cross process
# / cross server functionality
#url = redis://localhost
#url = kazoo://localhost
url = redis://127.0.0.1:6379
[webui]
# webui_base_url = https://mywebhost.domain
[log]
excludes = requests,paramiko
redirect_stderr = False
mask_secrets = True
[system_user]
user = stanley
ssh_key_file = /home/vagrant/.ssh/stanley_rsa
[messaging]
url = amqp://guest:guest@127.0.0.1:5672/
# Uncomment to test SSL options
#url = amqp://guest:guest@127.0.0.1:5671/
#ssl = True
#ssl_keyfile = /data/stanley/st2tests/st2tests/fixtures/ssl_certs/client/private_key.pem
#ssl_certfile = /data/stanley/st2tests/st2tests/fixtures/ssl_certs/client/client_certificate.pem
#ssl_ca_certs = /data/stanley/st2tests/st2tests/fixtures/ssl_certs/ca/ca_certificate_bundle.pem
#ssl_cert_reqs = required
#ssl_cert_reqs = required
[ssh_runner]
remote_dir = /tmp
[scheduler]
logging = st2actions/conf/logging.scheduler.conf
[notifier]
logging = st2actions/conf/logging.notifier.conf
[workflow_engine]
logging = st2actions/conf/logging.workflowengine.conf
[content]
pack_group = stanley
[packs]
enable_common_libs = True
[metrics]
driver = echo
host = 127.0.0.1
port = 8125