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 %}
|
{% endif %}
|
||||||
|
|
||||||
{% if "php" == language %}
|
{% if "php" == language %}
|
||||||
|
{% set anchors = [
|
||||||
|
"apache" in php.version ? "*default-proxy" : "",
|
||||||
|
"*default-app",
|
||||||
|
] -%}
|
||||||
php:
|
php:
|
||||||
<<: *default-app
|
<<: [{{ anchors | join(", ") }}]
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
target: build
|
target: build
|
||||||
|
|
Loading…
Reference in a new issue