This repository has been archived by the owner on Feb 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 80
/
Copy path.env.example
141 lines (123 loc) · 6.66 KB
/
.env.example
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
137
138
139
140
141
<!--=========================================================================
# Copyright 2019 Contributors to Hyperledger Sawtooth
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
=========================================================================-->
### UNCOMMENTED VARIABLES ARE DEFAULTS ###
### DO NOT EDIT UNLESS YOU KNOW WHAT YOU'RE DOING ###
<!--============================================================================
= Required global config variables =
=============================================================================-->
ISOLATION_ID=latest
LOGGING_LEVEL=INFO
# Uncomment if using Windows for development.
# COMPOSE_CONVERT_WINDOWS_PATHS=1
<!--============================================================================
= init variables =
=============================================================================-->
# ENABLE_NEXT_BASE_USE allows user to be created by anyone who can access the
# login portal. It is an int field in boolean format (1 = True, 0 = False)
ENABLE_NEXT_BASE_USE=1
NEXT_ADMIN_NAME=Next Administrator
NEXT_ADMIN_USER=NextAdmin
NEXT_ADMIN_PASS=ReplaceWithSecurePassword
<!--============================================================================
= rbac-server config variables =
=============================================================================-->
# SERVER_HOST=<HOST_MACHINE_IP_ADDRESS>
SERVER_PORT=8000
<!--============================================================================
= rbac-validator-tp config variables =
=============================================================================-->
VALIDATOR_HOST=validator
VALIDATOR_PORT=4004
VALIDATOR_REST_HOST=rest-api
VALIDATOR_REST_PORT=8008
VALIDATOR_TIMEOUT=500
<!--============================================================================
= rethink config variables =
=============================================================================-->
DB_HOST=rethink
DB_PORT=28015
DB_NAME=rbac
<!--============================================================================
= rbac-chatbot config variables =
=============================================================================-->
CHATBOT_HOST=chatbot
CHATBOT_PORT=5005
<!--============================================================================
= rbac-client config variables =
=============================================================================-->
# Use http://localhost for dev
# Use domain name instead of IP address if using DNS
# CLIENT_HOST=http://<YOUR_HOST_MACHINE_IP_ADDRESS_OR_DOMAIN_NAME>
CLIENT_PORT=4201
# Use domain name instead of IP address if using DNS
# REACT_APP_SERVER_HOST=<YOUR_HOST_MACHINE_IP_ADDRESS_OR_DOMAIN_NAME>
REACT_APP_SERVER_PORT=8000
REACT_APP_HTTP_PROTOCOL=http://
REACT_APP_WS_PROTOCOL=ws://
NODE_PATH=src/
# Uncomment to display default landing page
# REACT_APP_DEFAULT_LANDING=1
<!--============================================================================
= rbac-provider-azure AAD config variables =
=============================================================================-->
# ENABLE_AZURE_SYNC allows azure provider to operate and connect to your AAD
# It is an int field in boolean format (1 = True, 0 = False)
ENABLE_AZURE_SYNC=0
# AUTH_TYPE specifies which AAD authentication method to use:
# Use CLIENT_ASSERTION for CERT
# Use CLIENT_SECRET for SECRET
# AUTH_TYPE=<'CERT' | 'SECRET'>
# TENANT_ID=<YOUR_AAD_TENANT_ID>
# CLIENT_ID=<YOUR_AAD_CLIENT_ID>
# CLIENT_SECRET=<YOUR_AAD_CLIENT_SECRET>
# CLIENT_ASSERTION=<YOUR_AAD_CLIENT_ASSERTION>
<!--============================================================================
= rbac-provider-azure Event Hub config variables =
=============================================================================-->
# AAD_EH_SAS_POLICY=<YOUR_AZURE_EVENT_HUB_SAS_POLICY_NAME>
# AAD_EH_SAS_KEY=<YOUR_AZURE_EVENT_HUB_SECRET_KEY>
# AAD_EH_CONSUMER_GROUP=<YOUR_AZURE_EVENT_HUB_CONSUMER_GROUP_NAME>
# AAD_EH_NAMESPACE=<YOUR_AZURE_EVENT_HUB_NAMESPACE>
# AAD_EH_NAME=<YOUR_AZURE_EVENT_HUB_NAME>
<!--============================================================================
= crypto variables =
=============================================================================-->
SECRET_KEY=ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890
AES_KEY=1111111111111111111111111111111111111111111111111111111111111111
BATCHER_PRIVATE_KEY=1111111111111111111111111111111111111111111111111111111111111111
<!--============================================================================
= rbac-provider-ldap config variables =
=============================================================================-->
# ENABLE_LDAP_SYNC allows ldap provider to operate and connect to your AD
# It is an int field in boolean format (1 = True, 0 = False)
ENABLE_LDAP_SYNC=0
# Sets the delay in seconds to wait before attempting to sync again.
LISTENER_POLLING_DELAY=1
# Sets the delay in seconds between LDAP delta sync attempts.
DELTA_SYNC_INTERVAL_SECONDS=3600
# LDAP_DC=<YOUR_LDAP_DOMAIN_CONTROLLER>
# LDAP_SERVER=ldap://<YOUR_LDAP_SERVER_IP_ADDRESS>
# LDAP_USER=<LDAP_SERVICE_ACCOUNT_USERNAME>
# LDAP_PASS=<LDAP_SERVICE_ACCOUNT_PASSWORD>
# GROUP_BASE_DN=<GROUP_BASE_DN>
# USER_BASE_DN=<USER_BASE_DN>
<!--============================================================================
= domain-specific configuration variables =
=============================================================================-->
# Your domain-specific configuration variables
# CUSTOM_VARIABLE=<YOUR_CUSTOM_VALUE>
<!--============================================================================
= version number =
=============================================================================-->
VERSION_NUMBER=0.0.1