Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DevOps Tools
Documentation
Commits
89b22a50
Commit
89b22a50
authored
3 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Explain default environment variables
parent
ee627949
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#411374
passed
3 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/docker/l3d/drupal.md
+32
-0
32 additions, 0 deletions
docs/docker/l3d/drupal.md
with
32 additions
and
0 deletions
docs/docker/l3d/drupal.md
+
32
−
0
View file @
89b22a50
...
...
@@ -50,6 +50,38 @@ that you get similar (but not identical) setup on all stages. It should not
be identical, because you don't want all the development tools on your
production site.
## Recommended global settings for your host
Before starting with Drupal projects and L3D we recommend to create or edit an
`.env`
file in your user's home directory with the following content:
```
shell
COMPOSER_DOWNGRADE
=
0
DOCKER4DRUPAL_LIVE_HOST_USERNAME
=
YourUserName
DOCKER4DRUPAL_TRAEFIK_CERT
=
fullchain.pem
DOCKER4DRUPAL_TRAEFIK_DOMAIN
=
docker.localhost
DOCKER4DRUPAL_TRAEFIK_KEY
=
privkey.pem
DOCKER4DRUPAL_TRAEFIK_PORT
=
8000
DOCKER4DRUPAL_TRAEFIK_PORTAINER
=
0
DOCKER4DRUPAL_TRAEFIK_PORTS
=
8443
DOCKER4DRUPAL_TRAEFIK_USESSL
=
0
DORGFLOW
=
0
DRUPAL_LIVE
=
0
MAILHOG_HOST
=
smtp.freesmtpservers.com
MAILHOG_MECHANISM
=
NONE
MAILHOG_PASSWORD
=
MAILHOG_PORT
=
25
MAILHOG_USERNAME
=
PHP_DEBUG
=
0
PHP_VERSION
=
7.4
WEBSERVER_CONFIG_OVERWRITE
=
0
```
Those will be used as default values for all your projects, and you may adjust
them towards your own needs. With those defaults in place, you will then get less
questions when setting up new projects and the local
`.env`
file will then only
contain those values that are different form your global default.
## Working with multiple projects in parallel
The composer plugin
[
Docker4Drupal
](
/composer/plugin/d4d
)
in combination with
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment