-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathenv.local.example
59 lines (51 loc) · 2.48 KB
/
env.local.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
50
51
52
53
54
55
56
57
58
59
#############################################################################
# Mandatory vars (will be enforced by docker-compose-wrapper.sh)
# Can add new vars but do not remove, else automated deployment will break
#############################################################################
export HOSTNAME_FQDN="hostname.domainname" # Fully qualified domain name of this installation
export SSL_CERTIFICATE="/etc/ssl/$HOSTNAME_FQDN/fullchain.crt" # *absolute* path, .pem works too
export SSL_CERTIFICATE_KEY="/etc/ssl/$HOSTNAME_FQDN/privkey.crt" # *absolute* path
# Only applicable on initial setup, changing these settings
# after database is created and seeded won't yield any change.
export INITIAL_ROOT_PASSWORD="rootpasswd"
# For runner to connect to.
# Note: runner is unable to register if GITLAB_WEB_URL uses self-signed ssl certificate.
export GITLAB_WEB_URL="https://${HOSTNAME_FQDN}"
# For runner to connect to.
# Token can be found at ${GITLAB_WEB_URL}/admin/runners, login using root account.
#
# On first startup this field can be left with bogus value since this is needed
# for register-runner only which is run only after first start-up.
export GITLAB_TOKEN="TOKEN"
#############################################################################
# Optional vars
#############################################################################
# Extra dirs containing docker-compose-extra.yml file to override the default
# docker-compose.yml file. Inside each extra dir, there must be a
# docker-compose-extra.yml file. If this file is not found, the dir is
# ignored.
#
# Useful to split configs into different dirs leveraging docker-compose
# override capabilities, see https://docs.docker.com/compose/extends/.
#
# Possible use-cases:
#
# * Split config to have all private and sensitive infos in a different
# config dir.
#
# * Manage different env (prod, stating, dev, ...) with each env specific
# config in its own dir leaving the default config dir with generic/common
# config only.
#
# * Assemble different combinations of components/functionalities by including
# only the config/docker-compose fragment necessary.
#
# Last dir/docker-compose fragment in the list have highest override precedence.
# Ex: last docker-compose volume mount to same destination win over the
# previous docker-compose volume mount.
#
# Format: space separated list of dirs
#
#export EXTRA_CONF_DIRS="/path/to/dir1 ./path/to/dir2 dir3 dir4"
# SMTP server without SSL (on port 25)
#export SMTP_SERVER="smtp.server"