mirror of
https://github.com/opdavies/build-configs.git
synced 2025-03-20 20:13:37 +00:00
fix: only generate a web
service if it's
...included in the `services` list in `build.yaml`.
This commit is contained in:
parent
1e9fcc8a75
commit
0cd35db6db
|
@ -31,7 +31,7 @@ x-app: &default-app
|
||||||
tty: true
|
tty: true
|
||||||
|
|
||||||
services:
|
services:
|
||||||
{% if dockerCompose.services.web is not defined or dockerCompose.services.web != false -%}
|
{% if "web" in dockerCompose.services %}
|
||||||
web:
|
web:
|
||||||
<<: [*default-proxy, *default-app]
|
<<: [*default-proxy, *default-app]
|
||||||
build:
|
build:
|
||||||
|
|
Loading…
Reference in a new issue