forked from munkireport/munkireport-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
182 lines (148 loc) · 4.96 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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
# --------------------------------------------------------------
# munkireport-php phpdotenv configuration file.
#
# Module specific variables should contain the module prefix.
# --------------------------------------------------------------
# DATABASE
# --------
CONNECTION_DRIVER="sqlite"
#CONNECTION_DATABASE="/path/to/your/custom/db/db.sqlite"
#CONNECTION_DRIVER="mysql"
#CONNECTION_HOST="127.0.0.1"
#CONNECTION_PORT=3306
#CONNECTION_DATABASE="munkireport"
#CONNECTION_USERNAME="root"
#CONNECTION_PASSWORD=""
#CONNECTION_CHARSET="utf8mb4"
#CONNECTION_COLLATION="utf8mb4_unicode_ci"
#CONNECTION_STRICT=TRUE
#CONNECTION_ENGINE="InnoDB"
# INDEX_PAGE
# ----------
# Default is index.php? which is the most compatible form.
# You can leave it blank if you want nicer looking urls.
# You will need a server which honors .htaccess (apache) or
# figure out how to rewrite urls in the server of your choice.
INDEX_PAGE="index.php?"
# URI_PROTOCOL
# ------------
# $_SERVER variable that contains the correct request path,
# e.g. 'REQUEST_URI', 'QUERY_STRING', 'PATH_INFO', etc.
# defaults to AUTO
URI_PROTOCOL="AUTO"
# WEBHOST
# -------
# The hostname of the webserver, default automatically
# determined. no trailing slash
#WEBHOST="https://munkireport"
# SUBDIRECTORY
# ------------
# Relative to the webroot, with trailing slash.
# If you're running munkireport from a subdirectory of a website,
# enter subdir path here. E.g. if munkireport is accessible here:
# http://mysite/munkireport/ you should set subdirectory to
# '/munkireport/'
# If you're using .htaccess to rewrite urls, you should change that too
# The code below is for automagically determining your subdirectory,
# if it fails, just add $conf['subdirectory'] = '/your_sub_dir/' in
# config.php
#SUBDIRECTORY="/munkireport/"
# SITENAME
# --------
# Will appear in the title bar of your browser and as heading on each webpage
#
SITENAME="MunkiReport"
# Hide Non-active Modules
#
# When false, all modules will be shown in the interface like
# in the 'Listings' menu.
#HIDE_INACTIVE_MODULES=TRUE
# AUTHENTICATION
# --------------
#
# AUTH_METHODS can be one of
# - "NOAUTH": No authentication
# - "LOCAL" : Local Users defined as .yml in the "users" folder
# - "LDAP": LDAP Authentication
# - "AD": Active Directory Authentication
# - Any combination of the above, comma separated.
#
# Authentication providers are checked in this order:
# - Noauth
# - Generated local user
# - LDAP
# - Active Directory
AUTH_METHODS="NOAUTH"
# LDAP AUTHENTICATION
# -------------------
# The LDAP server hostname or IP address
AUTH_LDAP_SERVER="ldap.server.local"
#AUTH_LDAP_PORT=389
#AUTH_LDAP_VERSION=3
#AUTH_LDAP_USE_STARTTLS=FALSE
#AUTH_LDAP_FOLLOW_REFERRALS=FALSE
#AUTH_LDAP_BIND_DN=""
#AUTH_LDAP_BIND_PASSWORD=""
#AUTH_LDAP_DEREF=0
# Use Debugging
#AUTH_LDAP_DEBUG=FALSE
# The search base for user objects (formerly usertree)
AUTH_LDAP_USER_BASE="cn=users,dc=server,dc=local"
# The LDAP filter to use for user objects
#AUTH_LDAP_USER_FILTER="(&(uid=%{user})(objectClass=posixAccount))"
#AUTH_LDAP_USER_SCOPE="sub"
# The search base for group objects
AUTH_LDAP_GROUP_BASE="cn=groups,dc=server,dc=local"
# The LDAP filter to use for group objects
#AUTH_LDAP_GROUP_FILTER="(&(objectClass=posixGroup)(memberUID=%{uid}))"
#AUTH_LDAP_GROUP_SCOPE="sub"
#AUTH_LDAP_GROUP_KEY="cn"
# LDAP Users and Groups that are allowed to access MunkiReport
AUTH_LDAP_ALLOWED_USERS="user1,user2"
AUTH_LDAP_ALLOWED_GROUPS="group1,group2"
# ACTIVE DIRECTORY AUTHENTICATION
# -------------------------------
#
AUTH_AD_ACCOUNT_SUFFIX="@mydomain.local"
AUTH_AD_BASE_DN="dc=mydomain,dc=local"
AUTH_AD_HOSTS="dc01.mydomain.local,dc02.mydomain.local"
AUTH_AD_ALLOWED_USERS="user1,user2"
AUTH_AD_ALLOWED_GROUPS="group1,group2"
AUTH_AD_RECURSIVE_GROUPSEARCH=FALSE
# RECAPTCHA
# ---------
# Enable reCaptcha Support on the Authentication Form
# Request API keys from https://www.google.com/recaptcha
#
RECAPTCHA_LOGIN_PUBLIC_KEY=""
RECAPTCHA_LOGIN_PRIVATE_KEY=""
# ROLES
# -----
# Add users or groups to the appropriate roles array.
#
#ROLES_ADMIN="*"
# LOCAL GROUPS
# ------------
# Create local groups, add users to groups.
#
#GROUPS_ADMIN_USERS="user1,user2"
# Set to TRUE to enable Business Units
# For more information, see docs/business_units.md
ENABLE_BUSINESS_UNITS=TRUE
# Force secure connection when authenticating
#
# Set this value to TRUE to force https when logging in.
# This is useful for sites that serve MR both via http and https
AUTH_SECURE=TRUE
# If you want to have link that opens a screensharing or SSH
# connection to a client, enable these settings. If you don't
# want the links, set either to an empty string, eg:
# $conf['vnc_link'] = "";
VNC_LINK="vnc://%s:5900"
SSH_LINK="ssh://adminuser@%s"
# Define path to the curl binary and add options
# this is used by the installer script.
# Override to use custom path and add or remove options, some environments
# may need to add "--insecure" if the servercertificate is not to be
# checked.
CURL_CMD="/usr/bin/curl, --fail, --silent, --show-error"