-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv.sample
80 lines (61 loc) · 2.3 KB
/
env.sample
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
# This is a sample env that can be used to create a `.env` file for
# docker-compose.
# NB: Docker-compose expects the variable definition in the `VAR=VAL`
# format, and any quotation marks will *not* be stripped from `VAL`.
# Copy this into `.env` and it will be git-ignored.
# The name, UID, and GID of the user that will be running the Rails app
DORA_USER=dora
DORA_UID=1000
DORA_GID=1000
# The Rails application directory that will be mounted into the container as
# `/home/dora/rails`.
DORA_HOST_APP_DIR=~/MY_APP
# The host directory for additional volumes, e.g. database.
# Cannot use ${DORA_HOST_APP_DIR} in the value because docker-compose does
# not perform variable substitution recursively.
DORA_HOST_VOL_DIR=~/MY_APP/tmp/dora
# The name of the app. This is mostly informative.
APP_NAME=MY_APP
# Whether to clone and pull from a git repository.
# Since the Rails application is mounted as a volume, we set this to false.
# The `GIT...` variables are meaningless when `GIT_PULL` is `false`.
GIT_PULL=false
# Name of a user with read access to the repository.
# Leave empty for a repository with public read access.
GIT_USER=
# Password of the above user.
GIT_PASS=
# URL of the repository.
GIT_REPO=https://github.com/ME/MY_APP.git
# Branch to checkout.
GIT_BRANCH=main
# Application environment.
PASSENGER_APP_ENV=development
# Whether to precompile the rails assets.
# During development, this is commonly set to `false`.
RAILS_PRECOMPILE_ASSETS=false
# The database host.
# `db` is the default database host that is defined in `docker-compose.yml`.
RAILS_DB_HOST=db
# Name of the database.
RAILS_DB_NAME=MY_APP
# Database user. Must have write access to the database.
RAILS_DB_USER=MY_APP
# Database password.
RAILS_DB_PASS=MY_APP
# SMTP configuration. This assumes that a MailHog container is available on
# the Docker network.
RAILS_SMTP_HOST=mailhog
RAILS_SMTP_PORT=1025
RAILS_SMTP_USER=
RAILS_SMTP_PASS=
RAILS_SMTP_FROM=
# Set this to a valid e-mail address to receive a daily status report by e-mail.
EMAIL_REPORTS_TO=
# Rails' secret key. This really MUST be kept private!
SECRET_KEY_BASE=
# Secret token that can be used with Git repository webhooks,
# e.g. to automatically trigger application upgrades when pushing to the
# main branch.
# See https://github.com/bovender/DoraWebUpgrader
DORA_WEB_UPGRADER_SECRET=