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
effb2d0a
Commit
effb2d0a
authored
2 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Update recommended default env variables
parent
4213b109
No related branches found
No related tags found
No related merge requests found
Pipeline
#783511
passed
2 years ago
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/dev_tools/host.md
+16
-3
16 additions, 3 deletions
docs/dev_tools/host.md
docs/docker/l3d/drupal.md
+1
-29
1 addition, 29 deletions
docs/docker/l3d/drupal.md
with
17 additions
and
32 deletions
docs/dev_tools/host.md
+
16
−
3
View file @
effb2d0a
...
@@ -12,23 +12,36 @@ tags:
...
@@ -12,23 +12,36 @@ tags:
```
dotenv
```
dotenv
COMPOSER_DOWNGRADE=0
COMPOSER_DOWNGRADE=0
CYPRESS=0
DOCKER4DRUPAL_LIVE_HOST_USERNAME=YOURNAME
DOCKER4DRUPAL_LIVE_HOST_USERNAME=YOURNAME
DOCKER4DRUPAL_TRAEFIK_CERT=fullchain.pem
DOCKER4DRUPAL_TRAEFIK_CERT=
DOCKER4DRUPAL_TRAEFIK_DNS_CHALLENGE=0
DOCKER4DRUPAL_TRAEFIK_DNS_CHALLENGE_PROVIDER=
DOCKER4DRUPAL_TRAEFIK_DNS_CHALLENGE_RESOLVER=
DOCKER4DRUPAL_TRAEFIK_DOMAIN=docker.localhost
DOCKER4DRUPAL_TRAEFIK_DOMAIN=docker.localhost
DOCKER4DRUPAL_TRAEFIK_KEY=privkey.pem
DOCKER4DRUPAL_TRAEFIK_ENV_1=key:value
DOCKER4DRUPAL_TRAEFIK_ENV_2=key:value
DOCKER4DRUPAL_TRAEFIK_ENV_3=0
DOCKER4DRUPAL_TRAEFIK_HUB_TOKEN=
DOCKER4DRUPAL_TRAEFIK_KEY=
DOCKER4DRUPAL_TRAEFIK_PORT=80
DOCKER4DRUPAL_TRAEFIK_PORT=80
DOCKER4DRUPAL_TRAEFIK_PORTAINER=1
DOCKER4DRUPAL_TRAEFIK_PORTAINER=1
DOCKER4DRUPAL_TRAEFIK_PORTS=443
DOCKER4DRUPAL_TRAEFIK_PORTS=443
DOCKER4DRUPAL_TRAEFIK_USESSL=0
DOCKER4DRUPAL_TRAEFIK_USESSL=0
DOCKER_IMAGE_PREFIX=
DORGFLOW=0
DORGFLOW=0
DRUPAL_LIVE=0
DRUPAL_LIVE=0
GITLAB_PRIVATE_TOKEN=
GITLAB_URL=
LOCAL_IP=1
MAILHOG_HOST=smtp.freesmtpservers.com
MAILHOG_HOST=smtp.freesmtpservers.com
MAILHOG_MECHANISM=NONE
MAILHOG_MECHANISM=NONE
MAILHOG_PASSWORD=
MAILHOG_PASSWORD=
MAILHOG_PORT=25
MAILHOG_PORT=25
MAILHOG_USERNAME=
MAILHOG_USERNAME=
PHP_COVERAGE=0
PHP_DEBUG=0
PHP_DEBUG=0
PHP_VERSION=
7.4
PHP_VERSION=
8.1
WEBSERVER_CONFIG_OVERWRITE=0
WEBSERVER_CONFIG_OVERWRITE=0
```
```
...
...
This diff is collapsed.
Click to expand it.
docs/docker/l3d/drupal.md
+
1
−
29
View file @
effb2d0a
...
@@ -53,35 +53,7 @@ production site.
...
@@ -53,35 +53,7 @@ production site.
## Recommended global settings for your host
## Recommended global settings for your host
Before starting with Drupal projects and L3D we recommend to create or edit an
`.env`
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:
file in your user's home directory. For details see
[
~/.env
](
/dev_tools/host/#env
)
```
shell
COMPOSER_DOWNGRADE
=
0
CYPRESS
=
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
DOCKER_IMAGE_PREFIX
=
gitlab.lakedrops.com/docker/dependency_proxy/containers
DORGFLOW
=
0
DRUPAL_LIVE
=
0
GITLAB_PRIVATE_TOKEN
=
glpat-....
GITLAB_URL
=
https://gitlab.lakedrops.com
LOCAL_IP
=
1
MAILHOG_HOST
=
smtp.freesmtpservers.com
MAILHOG_MECHANISM
=
NONE
MAILHOG_PASSWORD
=
MAILHOG_PORT
=
25
MAILHOG_USERNAME
=
PHP_COVERAGE
=
0
PHP_DEBUG
=
0
PHP_VERSION
=
8.1
WEBSERVER_CONFIG_OVERWRITE
=
0
```
Those will be used as default values for all your projects, and you may adjust
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
them towards your own needs. With those defaults in place, you will then get less
...
...
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