-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy path.env
More file actions
81 lines (68 loc) · 3.13 KB
/
.env
File metadata and controls
81 lines (68 loc) · 3.13 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
DATABASE_HOST=mariadb
DATABASE_PORT=3306
MYSQL_ROOT_PASSWORD=password
DATABASE_NAME=specify
# The following are database users with specific roles and privileges.
# If the migrator and app user are not defined, the system will use the master user credentials.
# See documenation https://discourse.specifysoftware.org/t/new-blank-database-creation-database-user-levels/3023
# MASTER Database User
# Full database administrator, used for initial setup and migrations requiring elevated privileges.
# This user should already be setup before running Specify.
MASTER_NAME=root
MASTER_PASSWORD=password
MASTER_HOST=%
# MIGRATOR Database User
# User with elevated privileges to perform migrations (create/drop/modify tables, etc.), for Django migration steps.
# Make sure that the user is unique to just one database, otherwise use master.
MIGRATOR_NAME=specify_migrator
MIGRATOR_PASSWORD=specify_migrator
MIGRATOR_HOST=%
# APP Database User
# Normal runtime database user that performs application-level operations.
# Make sure that the user is unique to just one database, otherwise use master.
APP_USER_NAME=specify_user
APP_USER_PASSWORD=specify_user
APP_HOST=%
# Enabling this option allows administrators with access to the
# backend Specify instance to log in as any user for support
# purposes without knowing their password.
# https://discourse.specifysoftware.org/t/allow-support-login-documentation/2838
ALLOW_SUPPORT_LOGIN=false
# The amount of time in seconds each token is valid for
SUPPORT_LOGIN_TTL = 180
# Make sure to set the `SECRET_KEY` to a unique value
SECRET_KEY=change_this_to_some_unique_random_string
ASSET_SERVER_URL=http://host.docker.internal/web_asset_store.xml
# Make sure to set the `ASSET_SERVER_KEY` to a unique value
ASSET_SERVER_KEY=your_asset_server_access_key
# Information to connect to a Redis database
# Specify will use this database as a process broker and storage for temporary
# values
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_DB_INDEX=0
REPORT_RUNNER_HOST=report-runner
REPORT_RUNNER_PORT=8080
CELERY_BROKER_URL=redis://redis/0
CELERY_RESULT_BACKEND=redis://redis/1
# Local time zone for this installation. Choices can be found here:
# https://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not all choices may be available on all operating systems.
# On Unix systems, a value of None will cause Django to use the same
# timezone as the operating system.
# If running in a Windows environment this must be set to the same as your
# system time zone.
TIME_ZONE = America/Chicago
# This variable controls the Specify 7 logging level. Possible values
# are:
# * DEBUG: Low level system information for debugging purposes.
# * INFO: General system information.
# * WARNING: Information describing a minor problem that has occurred.
# * ERROR: Information describing a major problem that has occurred.
# * CRITICAL: Information describing a critical problem that has occurred.
LOG_LEVEL=WARNING
# Set this variable to `true` to run Specify 7 in debug mode. This
# should only be used during development and troubleshooting and not
# during general use. Django applications leak memory when operated
# continuously in debug mode.
SP7_DEBUG=true