mirror of
https://github.com/opdavies/build-configs.git
synced 2025-09-07 11:55:33 +01: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue