- Copy
docker-compose
.env
file
cp .env.dist .env
- Create alias interface (tested on macOS only)
PHP_VERSION=7.1 | |
PROJECT_NAME="Your project name here" | |
FORMATTED_PROJECT_NAME=your-project-name-here |
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 |
server { | |
// [...] | |
location ~ ^/index\.php(/|$) { | |
// [...] | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
internal; | |
} | |
} |
# 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 |
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 | |
""" |
I hereby claim:
To claim this, I am signing this object: