-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
48 lines (35 loc) · 2.02 KB
/
Copy path.env.example
File metadata and controls
48 lines (35 loc) · 2.02 KB
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
# Every variable below is optional and shown with the default the application uses when it is
# unset. Copy this file to .env and uncomment only what you need to change.
#
# .env is loaded with Dotenv::createImmutable(), which populates $_ENV and $_SERVER but not
# getenv(). Real environment variables work too — SP\getFromEnv() reads both.
# --- Paths -----------------------------------------------------------------------------------
# Directory holding config.xml. This can live outside the webserver root; move it and set this
# accordingly.
# CONFIG_PATH="/var/www/html/syspass/config"
# The main configuration file.
# CONFIG_FILE="/var/www/html/syspass/config/config.xml"
# Cache directory. This can live outside the webserver root, and preferably on a separate
# partition, because it stores a large number of small files.
# CACHE_PATH="/var/www/html/syspass/var/cache"
# The application log. It can live outside the webserver root.
# LOG_FILE="/var/www/html/syspass/config/syspass.log"
# --- Resource files --------------------------------------------------------------------------
# The ACL actions supported by the application.
# ACTIONS_FILE="/var/www/html/syspass/resources/actions.yaml"
# The MIME types the application recognises for file attachments.
# MIMETYPES_FILE="/var/www/html/syspass/resources/mimetypes.yaml"
# --- Database --------------------------------------------------------------------------------
# When a database connection is defined here it takes precedence over the one stored in
# config.xml. Leave these unset to use the credentials written by the installer.
# DB_SERVER="localhost"
# DB_NAME="syspass"
# DB_USER="syspass"
# DB_PASS=""
# DB_PORT=3306
# Connect over a Unix socket instead of host and port.
# DB_SOCKET="/run/mysqld/mysqld.sock"
# --- Other -----------------------------------------------------------------------------------
# Debug mode builds the DI container on every request instead of compiling it. Useful when
# developing or diagnosing a problem; leave it off in production.
# DEBUG=false