Skip to content

Host setup

~/.env

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
COMPOSER_DOWNGRADE=0
DOCKER4DRUPAL_LIVE_HOST_USERNAME=YOURNAME
DOCKER4DRUPAL_TRAEFIK_CERT=fullchain.pem
DOCKER4DRUPAL_TRAEFIK_DOMAIN=docker.localhost
DOCKER4DRUPAL_TRAEFIK_KEY=privkey.pem
DOCKER4DRUPAL_TRAEFIK_PORT=80
DOCKER4DRUPAL_TRAEFIK_PORTAINER=1
DOCKER4DRUPAL_TRAEFIK_PORTS=443
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

~/.gitconfig

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
[user]
    name = YOURNAME
    email = YOUREMAIL
[core]
    autocrlf = input
    excludesfile = ~/.gitignore_global
[push]
    default = simple
[filter "lfs"]
    clean = git-lfs clean -- %f
    smudge = git-lfs smudge -- %f
    required = true
    process = git-lfs filter-process
[credential]
    helper = cache --timeout=3600
[init]
    templatedir = ~/.git-templates

~/.gitignore_global

1
2
3
.idea/
*.iml
test.http

~/.composer/auth.json

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
{
  "http-basic": {
    "git.drupalcode.org": {
      "username": "YOURNAME",
      "password": null
    }
  },
  "github-oauth": {
    "github.com": "YOURTOKEN"
  },
  "gitlab-oauth": {},
  "gitlab-token": {
    "gitlab.lakedrops.com": "YOURTOKEN",
    "gitlab.com": "YOURTOKEN",
    "git.drupalcode.org": "YOURTOKEN"
  }
}

~/.docker/config.json

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
{
  "auths": {
    "registry.gitlab.com": {
      "auth": "YOURAUTH"
    },
    "registry.lakedrops.com": {
      "auth": "YOURAUTH"
    }
  }
}

Last update: February 27, 2022 16:46:49