fix: use Traefik with PHP Apache images

This commit is contained in:
Oliver Davies 2023-06-05 23:02:01 +01:00
parent 1c7f1f2e2b
commit 7af6ec5d8a

View file

@ -43,8 +43,12 @@ services:
{% endif %}
{% if "php" == language %}
{% set anchors = [
"apache" in php.version ? "*default-proxy" : "",
"*default-app",
] -%}
php:
<<: *default-app
<<: [{{ anchors | join(", ") }}]
build:
context: .
target: build