mirror of
https://github.com/opdavies/build-configs.git
synced 2025-03-13 05:26:56 +00:00
fix: use Traefik with PHP Apache images
This commit is contained in:
parent
1c7f1f2e2b
commit
7af6ec5d8a
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue