-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env
More file actions
93 lines (71 loc) · 3.05 KB
/
.env
File metadata and controls
93 lines (71 loc) · 3.05 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
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
# In all environments, the following files are loaded if they exist,
# the latter taking precedence over the former:
#
# * .env contains default values for the environment variables needed by the app
# * .env.local uncommitted file with local overrides
# * .env.$APP_ENV committed environment-specific defaults
# * .env.$APP_ENV.local uncommitted environment-specific overrides
#
# Real environment variables win over .env files.
#
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
# https://symfony.com/doc/current/configuration/secrets.html
#
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=aa02fcc3ed06f3721a56272a0fd76c97
###< symfony/framework-bundle ###
## Twisted TCP interface and port number, ie. AdUser server host and port
APP_VERSION=3.0.0
APP_NAME=AdUser
APP_PORT=8002
APP_HOST=localhost
# Secret used for creating a tracking id.
ADUSER_TRACKING_SECRET=VNPK2UTLEnChhQrynBTdjBPuxLcpCzf7qtnUldhe
# Name of the cookie used for tracking.
ADUSER_COOKIE_NAME=__au
ADUSER_DOMAINS=
# Tracking cookie expiry period. The enviromental variable accepts 'w' for weeks and 'd' for days. Format: {num}{format}, eg. '`4w`' for 4 weeks.
ADUSER_COOKIE_EXPIRY_PERIOD=31536000
# Default human score.
ADUSER_DEFAULT_HUMAN_SCORE=0.51
ADUSER_NO_FINGERPRINT_HUMAN_SCORE=0.44
ADUSER_HUMAN_SCORE_EXPIRY_PERIOD=3600
# Fingerprint settings
ADUSER_FINGERPRINT_EXPIRY_PERIOD=86400
# Default page rank.
ADUSER_DEFAULT_PAGE_RANK=0.0
TAXONOMY_CHANGES_FILE=
# Google reCAPTCHA v3 site key for generating the HTML code your site serves to users.
RECAPTCHA_SITE_KEY=
# Google reCAPTCHA v3 secret key for communication between your site and reCAPTCHA.
RECAPTCHA_SECRET_KEY=
# browscap.ini file to download from remote location (possible values are: Lite_PHP_BrowscapINI, PHP_BrowscapINI, Full_PHP_BrowscapINI)
BROWSCAP_INI_FILE=PHP_BrowscapINI
# Cookie3
COOKIE3_API_URL=https://api.cookie3.co/
COOKIE3_API_KEY=
LOG_LEVEL=error
LOG_FILE_PATH="/var/log/adshares/aduser.log"
###> symfony/lock ###
# Choose one of the stores below
# postgresql+advisory://db_user:db_password@localhost/db_name
LOCK_DSN=flock
###< symfony/lock ###
###> doctrine/doctrine-bundle ###
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
#
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
# DATABASE_URL="mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7&charset=utf8mb4"
# DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=15&charset=utf8"
###< doctrine/doctrine-bundle ###
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=
#DB_HOST=localhost
#DB_SOCKET=/var/run/mysqld/mysqld.sock
#DB_PERSISTENT=false
CLEANER_DEFAULT_INTERVAL=24