-
Notifications
You must be signed in to change notification settings - Fork 4
/
.env.example
executable file
·49 lines (39 loc) · 1.74 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
# This is used by Docker Compose to set up prefix names for Docker images,
# containers, volumes and networks. This ensures that everything is named
# consistently regardless of your folder structure.
COMPOSE_PROJECT_NAME=esr_api
# Database connections.
MYSQL_ROOT_PASSWORD=YOU_MUST_CHANGE_THIS_PASSWORD
MYSQL_USER=esr_api_user
MYSQL_PASSWORD=YOU_MUST_CHANGE_THIS_PASSWORD
DB_DATABASE=esr_api
DB_PORT=3306
# You would typically use `bundle exec rails secret` to generate a secure token. It is
# critical that you keep this value private in production.
SECRET_TOKEN=YOU_MUST_CHANGE_THIS_PASSWORD
# Lockbox is used for keeping tokens safe. Must be a 64-character hex.
# You can generate one in the Rails console with: `Lockbox.generate_key`
# or using OpenSSL with: `openssl rand -hex 32`
LOCKBOX_MASTER_KEY=YOU_MUST_CHANGE_THIS_PASSWORD
# Redis config.
REDIS_PASSWORD=YOU_MUST_CHANGE_THIS_PASSWORD
REDIS_PORT=6379
REDIS_CACHE_NAMESPACE=cache
# The queue prefix for all Active Jobs. The Rails environment will
# automatically be added to this value.
ACTIVE_JOB_QUEUE_PREFIX=esr_api:jobs
# Rails log level.
# Accepted values: debug, info, warn, error, fatal, or unknown
LOG_LEVEL=debug
# More details about these Puma variables can be found in config/puma.rb.
# Which address the Puma app server binds to.
BIND_ON=0.0.0.0:3000
# Requests that exceed 5 seconds will be terminated and dumped to a stacktrace.
# Feel free to modify this value to fit the needs of your project, but if you
# have any request that takes more than 5 seconds you probably need to re-think
# what you are doing 99.99% of the time.
RACK_TIMEOUT_SERVICE_TIMEOUT=5
# Increase docker-compose timeout in case of slow internet.
COMPOSE_HTTP_TIMEOUT=300
# Daily job to download FTP data.
CRONJOBS_ACTIVE=true