- 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 hidden or 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) |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
NewerOlder