-
Notifications
You must be signed in to change notification settings - Fork 14
/
.env
162 lines (127 loc) · 6.14 KB
/
.env
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
##
# Project environment variables.
#
# This file is used by Docker and other scripts to set values.
#
# This is a single location where defined variables control how DrevOps operates
# and should be the primary place for modifications. Avoid overriding values in
# scripts or configuration files to simplify future updates and centralize
# changes.
#
# Values must be scalar and cannot reference another variable.
# Do not enclose values in double quotes unless they include spaces.
#
# To apply any changes made to this file, run `docker-compose up cli -d` or
# `ahoy up cli`.
#
# To customize variables locally, copy `.env.local.default` to `.env.local`.
#
# @see https://docs.drevops.com/workflows/variables
################################################################################
# GENERAL #
################################################################################
# Project name.
#
# Drives internal naming within the codebase.
# Does not affect the names of containers and development URL - those depend on
# the project directory and can be overridden with $COMPOSE_PROJECT_NAME.
DREVOPS_PROJECT=monorepo-drupal
# Name of the webroot directory with Drupal codebase.
DREVOPS_WEBROOT=web
# The timezone for the containers.
DREVOPS_TZ="Australia/Melbourne"
################################################################################
# DRUPAL #
################################################################################
# Drupal profile name (used only when installing from profile).
DRUPAL_PROFILE=minimal
# Drupal theme name.
DRUPAL_THEME=civictheme
# Drupal site name.
DRUPAL_SITE_NAME="CivicTheme Source"
# Drupal site email.
DRUPAL_SITE_EMAIL="[email protected]"
# Shield print message.
DRUPAL_SHIELD_PRINT="Restricted access."
################################################################################
# PROVISION #
################################################################################
# Variables in this section control how the site is provisioned.
# @see https://docs.drevops.com/workflows/provision
# Set to 1 to install a site from profile instead of the database file dump.
DREVOPS_PROVISION_USE_PROFILE=1
# Overwrite existing database if it exists.
#
# Usually set to 0 in deployed environments and can be temporary set to 1 for
# a specific deployment.
# Set this to 1 in .env.local to override when developing localy.
DREVOPS_PROVISION_OVERRIDE_DB=1
# Skip database sanitization.
#
# Database sanitization is enabled by default in all non-production
# environments and is always skipped in the production environment.
DREVOPS_PROVISION_SANITIZE_DB_SKIP=0
# Sanitization email pattern. Sanitization is enabled by default in all
# non-production environments.
# @see https://docs.drevops.com/workflows/build#sanitization
DREVOPS_PROVISION_SANITIZE_DB_EMAIL="user_%[email protected]"
# Put the site into a maintenance mode during site provisioning.
DREVOPS_PROVISION_USE_MAINTENANCE_MODE=1
################################################################################
# DATABASE #
################################################################################
# Database service runs a single database within a container.
# See settings.php for database credentials defaults.
# Database can be imported from a file dump into an empty database started from
# the database default image or can exist in a pre-built Docker image.
# Defaults to importing from a file.
# @see https://docs.drevops.com/workflows/database
# Name of the pre-built Docker image.
# Uncomment to use an image with a DB data loaded into it.
# @see https://github.com/drevops/mariadb-drupal-data to seed your DB image.
# DREVOPS_DB_DOCKER_IMAGE=
# Database dump directory.
DREVOPS_DB_DIR=./.data
# Database dump file name.
DREVOPS_DB_FILE=db.sql
# Lagoon project name. May be different from $DREVOPS_PROJECT.
LAGOON_PROJECT=civictheme-monorepo-drupal
################################################################################
# DEPLOYMENT #
################################################################################
# Deployment occurs when tests pass in the CI environment.
# @see https://docs.drevops.com/workflows/deployment
# The type of deployment.
#
# Combination of comma-separated values to support multiple deployment targets:
# `artifact`,`docker`, `webhook`, `lagoon`.
#
# See https://docs.drevops.com/workflows/deploy
DREVOPS_DEPLOY_TYPES=lagoon
# Dedicated branch to identify the production environment.
DREVOPS_LAGOON_PRODUCTION_BRANCH=main
DREVOPS_DEPLOY_LAGOON_INSTANCE=salsa-hosting
DREVOPS_DEPLOY_LAGOON_INSTANCE_GRAPHQL=https://api.salsa.hosting/graphql
DREVOPS_DEPLOY_LAGOON_INSTANCE_HOSTNAME=ssh.salsa.hosting
DREVOPS_DEPLOY_LAGOON_INSTANCE_PORT=22
DREVOPS_TASK_LAGOON_INSTANCE=salsa-hosting
DREVOPS_TASK_LAGOON_INSTANCE_GRAPHQL=https://api.salsa.hosting/graphql
DREVOPS_TASK_LAGOON_INSTANCE_HOSTNAME=ssh.salsa.hosting
DREVOPS_TASK_LAGOON_INSTANCE_PORT=22
################################################################################
# NOTIFICATIONS #
################################################################################
# Notificaions are sent accross multiple channels before and after deployment.
# @see https://docs.drevops.com/workflows/notifications
# The channels of the notifications.
#
# Can be a combination of comma-separated values: email,newrelic,github,jira
DREVOPS_NOTIFY_CHANNELS=email
# Email to send notifications from.
DREVOPS_NOTIFY_EMAIL_FROM="[email protected]"
# Email address(es) to send notifications to.
#
# Multiple names can be specified as a comma-separated list of email addresses
# with optional names in the format "email|name".
# Example: "[email protected]|Jane Doe, [email protected]|John Doe"
DREVOPS_NOTIFY_EMAIL_RECIPIENTS="[email protected]|CivicTheme group"