I hereby claim:
- I am fhuitelec on github.
- I am fhuitelec (https://keybase.io/fhuitelec) on keybase.
- I have a public key whose fingerprint is AE2A BBF8 CF68 6E9C 0845 18DE 7351 71D1 0D1B B535
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
def _probe_for(container): | |
"""Simulate a healthcheck using: | |
- container's running status | |
- container's health if it exists | |
Needs jq installed locally | |
:type container: str | |
:rtype: Probe | |
""" |
# Cf. https://github.com/helm/charts/blob/master/stable/traefik/values.yaml | |
rbac: | |
enabled: true | |
dashboard: | |
enabled: true | |
domain: traefik.local.minikube.com | |
serviceType: NodePort | |
serviceType: NodePort |
server { | |
// [...] | |
location ~ ^/index\.php(/|$) { | |
// [...] | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
internal; | |
} | |
} |
server { | |
server_name domain.tld www.domain.tld; | |
root /var/www/project/public; | |
location / { | |
try_files $uri /index.php$is_args$args; | |
} | |
location ~ ^/index\.php(/|$) { | |
fastcgi_pass php-fpm:9000; # application being the DNS to reach the php-fpm upstream |
PHP_VERSION=7.1 | |
PROJECT_NAME="Your project name here" | |
FORMATTED_PROJECT_NAME=your-project-name-here |
# ######### # | |
# VARIABLES # | |
# ######### # | |
export PHP_VERSION = 7.1 | |
export PROJECT_NAME = your-project-name | |
# ####### # | |
# TARGETS # | |
# ####### # |
export COMPOSER_COMPOSE_EXEC = docker-compose -f composer.docker-compose.yaml | |
.PHONY: composer | |
composer: | |
$(COMPOSER_COMPOSE_EXEC) run --rm composer |
#!/usr/bin/env zsh | |
# | |
# Check argument is provided | |
# | |
if [ -n "$1" ]; then | |
echo "Command must have one argument" >&2 | |
exit 1 | |
fi |