-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
40 lines (31 loc) · 1.05 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
PORT=3000
APP_URL=http://localhost:3000
JWT_SECRET_TOKEN=<your_rake_secret>
REDIS_URL=redis://localhost:6379/1
ELASTICSEARCH_URL=http://localhost:9200
ELASTICSEARCH_HOST=localhost
CLIENT_VK_ID=your_vk_client_id
CLIENT_VK_SECRET=your_vk_client_secret
# Mailer Configuration
MAIL_ADDRESS=smtp.mail.ru
MAIL_PORT=465
MAIL_USERNAME=app1234@gmail.com
MAIL_PASSWORD=qwerty
MAILER_SENDER_ADDRESS=noreply@followy.ru
PASSWORD_RECOVERY_LINK_TEMPLATE="http://localhost:5000/password_reset?token=%{password_reset_token}"
CONFIRM_USER_LINK_TEMPLATE="http://localhost:3000/api/v1/auth/confirm?confirmation_token=%{token_value}"
# Token length
CONFIRMATION_TOKEN_LENGTH=40
# Exclude gems that are part of the specified named group
BUNDLE_WITHOUT=
# Allow connect to remote database (in separate container)
DATABASE_CLEANER_ALLOW_REMOTE_DATABASE_URL=true
# Name of docker image
IMAGE_NAME=tollowy_api
# Some database info
DATABASE_USER=tollowy
DATABASE_PASSWORD=tollowy
DATABASE_PRODUCTION_DB=tollowy_production
DATABASE_HOST=database
# Mailcatcher
MAILCATHCER_ADDRESS=127.0.0.1