fix: only generate a web service if it's

...included in the `services` list in `build.yaml`.
This commit is contained in:
Oliver Davies 2023-05-09 19:40:43 +01:00
parent 1e9fcc8a75
commit 0cd35db6db

View file

@ -31,7 +31,7 @@ x-app: &default-app
tty: true
services:
{% if dockerCompose.services.web is not defined or dockerCompose.services.web != false -%}
{% if "web" in dockerCompose.services %}
web:
<<: [*default-proxy, *default-app]
build: