-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env
110 lines (95 loc) · 3.85 KB
/
.env
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
# In all environments, the following files are loaded if they exist,
# the later 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.
#
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration
###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=7fd781d3c8b25811ddd82260d88cc496
###< symfony/framework-bundle ###
###> 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://app:[email protected]:3306/app?serverVersion=8&charset=utf8mb4"
DATABASE_URL="postgresql://app:[email protected]:5432/app?serverVersion=15&charset=utf8"
###< doctrine/doctrine-bundle ###
###> friendsofsymfony/elastica-bundle ###
ELASTICSEARCH_URL=http://localhost:9200/
###< friendsofsymfony/elastica-bundle ###
###> parameters ###
HOSTNAME=host-env.tamucc.edu
GOOGLE_MAPS_API_KEY=SECRET
GOOGLE_ANALYTICS_ID=ID
PELAGOS_READONLY_MESSAGE=MESSAGE
MAINTENANCE_MODE_FILENAME="/var/maintenance.ini"
ACCOUNT_PASSWORD_MAX_AGE=P180D
ACCOUNT_PASSWORD_EXPIRATION_WARN=P7D,P1D
LDAP_HOST=localhost
LDAP_BIND_DN='cn=admin,dc=domain,dc=org'
LDAP_BIND_PW='secretpassword'
LDAP_PEOPLE_OU='ou=users,dc=domain,dc=org'
ACCOUNT_LESS_STRICT_PASSWORD_RULES=0
MAILER_FROM_ADDR='[email protected]'
MAILER_FROM_NAME='SenderName'
MAILER_BCC_ADDR='[email protected]'
ISSUE_TRACKING_BASE_URL='https://griidc.atlassian.net/browse'
DATABASE_NAME=pelagos
DATA_STORE_DIRECTORY=/path/to/store/directory
DOWNLOAD_PATH="path/to/zip"
INGEST_API_URL="https://ingest-server:port/api-name"
GCMD_VERSION="16.9"
GCMD_VERSION_YEAR="2023"
ANZSRC_VERSION="2020"
###> INDEX NAMES ###
DISCOVERY_INDEX=pelagos_instancename
SEARCH_TOOL_INDEX=search_instancename
INFO_PRODUCT_INDEX=info_instancename
###< INDEX NAMES ###
HOMEDIR_PREFIX=/path/to/home/directory/prefix
MAINTENANCE_MODE=false
DOWNLOAD_BASE_DIRECTORY=/path/to/http/download
# The DOWNLOAD_BASE_URL parameter target also must be configured for direct file access on the Webserver.
DOWNLOAD_BASE_URL=https://server-name/path/file-download
POSIX_STARTING_UID=10000
POSIX_GID=1001
REQUEST_CONTEXT_BASE_URL='/pelagos-symfony'
###> DOI API Parameters ###
DOI_API_USER_NAME="username"
DOI_API_PASSWORD="password"
DOI_API_PREFIX="10.1234"
DOI_API_URL="https://doi.website.here"
###< DOI API Parameters ###
REMOVE_BASE_URL_ROUTES='[]'
FILTER_BY_FUNDING_ORG='[]'
###> Name of base template if any ###
CUSTOM_BASE_TEMPLATE=
###> symfony/messenger ###
# Choose one of the transports below
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
MESSENGER_TRANSPORT_DSN=doctrine://default
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
###< symfony/messenger ###
CLAMD_SOCKET='unix:///run/clamd.scan/clamd.sock'
# Valid states are enabled (default), disabled (still visible), hidden (disabled and not visible)
LARGEFILE_TAB='enabled'
###> symfony/mailer ###
MAILER_DSN=null://null
###< symfony/mailer ###
###> The main website ###
MAINSITE='https://www.griidc.org'
###< The main website ###
###> knplabs/knp-snappy-bundle ###
WKHTMLTOPDF_PATH=/usr/local/bin/wkhtmltopdf
WKHTMLTOIMAGE_PATH=/usr/local/bin/wkhtmltoimage
###< knplabs/knp-snappy-bundle ###