mirror of
https://github.com/opdavies/build-configs.git
synced 2025-02-02 05:47:32 +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
|
||||
|
||||
services:
|
||||
{% if dockerCompose.services.web is not defined or dockerCompose.services.web != false -%}
|
||||
{% if "web" in dockerCompose.services %}
|
||||
web:
|
||||
<<: [*default-proxy, *default-app]
|
||||
build:
|
||||
|
|
Loading…
Reference in a new issue