- http://blog.thecodingmachine.com/content/triggering-php-script-when-your-postfix-server-receives-mail
- http://rudd-o.com/linux-and-free-software/setting-up-a-mail-server-using-postfix-in-5-minutes
- http://www.postfix.org/VIRTUAL_README.html
- http://stackoverflow.com/questions/17468109/postfix-unable-to-find-etc-postfix-virtual-file
- http://www.postfix.org/pipe.8.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.7' | |
services: | |
traefik: | |
image: traefik:v2.1.1 | |
container_name: "${PREFIX}-traefik" | |
restart: unless-stopped | |
security_opt: | |
- no-new-privileges:true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.7' | |
services: | |
app: | |
labels: | |
# Traefik 2 labels, note that I point to container_name of app service with ${COMPOSE_PROJECT_NAME}-app. | |
- "traefik.http.routers.${COMPOSE_PROJECT_NAME}-app.entrypoints=https" | |
- "traefik.http.routers.${COMPOSE_PROJECT_NAME}-app.rule=Host(`${APP_HOSTNAME}`)" | |
- "traefik.http.routers.${COMPOSE_PROJECT_NAME}-app.tls=true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run --rm -it \ | |
-v /path/to/d8-project/vendor:/app/vendor \ | |
-v /path/to/d8-project/public/core:/app/public/core \ | |
-v /path/to/d8-project/public/profiles:/app/public/profiles \ | |
-v /path/to/d8-project/public/modules/contrib/geshifilter:/app/public/modules/contrib/geshifilter \ | |
druidfi/drupal-rector:latest \ | |
bash -c "rector process /app/public/modules/contrib/geshifilter --dry-run" | |
Rector 0.8.x-dev@8896f0a | |
Config file: rector.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
trap 'catch' EXIT | |
deploy() { | |
notify "start" | |
info "Install dependencies" | |
composer install --prefer-dist -n --no-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GIT_REMOTE_AZURE := azure | |
GIT_REMOTE_AZURE_URL := REPO_IN_AZURE | |
GIT_REMOTE_AZURE_BRANCH := dev | |
GIT_REMOTE_AZURE_PUSH_BRANCH := dev-github | |
PHONY += git-add-remote | |
git-add-remote: ## Add Azure Git remote | |
$(call step,Add Azure Git remote...) | |
git remote add $(GIT_REMOTE_AZURE) $(GIT_REMOTE_AZURE_URL) |
Go to where ever your drupal webroot is:
$ drush @none dl utf8mb4_convert-7.x
$ cd ~/.drush/utf8mb4_convert
$ wget https://www.drupal.org/files/issues/utf8mb4_convert-skip_converted_tables.patch
$ patch -p1 < utf8mb4_convert-skip_converted_tables.patch
$ cd /back/to/your/drupal/webroot/
$ drush cc drush
$ drush utf8mb4-convert-databases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trigger: | |
branches: | |
# These must have existing instance on Lagoon | |
include: | |
- dev | |
- qa | |
- main | |
pool: | |
vmImage: 'ubuntu-latest' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Drupal profile switcher | |
composer require 'drupal/profile_switcher:^1.0@alpha' | |
drush en profile_switcher -y | |
drush switch:profile minimal | |
drush pmu profile_switcher -y | |
composer remove drupal/profile_switcher | |
drush cr | |
drush status |
OlderNewer