Fix docs compose rendering to include all profiles
This commit is contained in:
@@ -1,4 +1,75 @@
|
||||
digraph Compose {
|
||||
rankdir=LR;
|
||||
node [fontname=Helvetica];
|
||||
"svc:authelia" [label="authelia", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:crowdsec" [label="crowdsec", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:docker-socket-proxy" [label="docker-socket-proxy", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:docker-update-exporter" [label="docker-update-exporter", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:error-pages" [label="error-pages", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:gitea" [label="gitea", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:gitea-runner" [label="gitea-runner", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:gotify" [label="gotify", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:grafana" [label="grafana", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:gramps-redis" [label="gramps-redis", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:grampsweb" [label="grampsweb", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:grampsweb_celery" [label="grampsweb_celery", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:influxdb" [label="influxdb", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:monitor-kuma" [label="monitor-kuma", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:mtls-bridge" [label="mtls-bridge", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:nextcloud-db" [label="nextcloud-db", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:nextcloud-redis" [label="nextcloud-redis", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:nextcloud-webapp" [label="nextcloud-webapp", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:node-exporter" [label="node-exporter", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:node-red" [label="node-red", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:passbolt-db" [label="passbolt-db", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:passbolt-webapp" [label="passbolt-webapp", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:pihole-exporter" [label="pihole-exporter", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:portainer" [label="portainer", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:prometheus" [label="prometheus", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:searxng-webapp" [label="searxng-webapp", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:telegraf" [label="telegraf", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"svc:traefik" [label="traefik", shape=box, style=filled, fillcolor="#dfefff"];
|
||||
"net:gramps" [label="gramps", shape=ellipse, style=filled, fillcolor="#f4f4f4"];
|
||||
"net:monitor" [label="monitor", shape=ellipse, style=filled, fillcolor="#f4f4f4"];
|
||||
"net:nextcloud" [label="nextcloud", shape=ellipse, style=filled, fillcolor="#f4f4f4"];
|
||||
"net:passbolt" [label="passbolt", shape=ellipse, style=filled, fillcolor="#f4f4f4"];
|
||||
"net:traefik" [label="traefik", shape=ellipse, style=filled, fillcolor="#f4f4f4"];
|
||||
"svc:authelia" -> "net:traefik";
|
||||
"svc:crowdsec" -> "net:traefik";
|
||||
"svc:docker-socket-proxy" -> "net:monitor";
|
||||
"svc:docker-socket-proxy" -> "net:traefik";
|
||||
"svc:docker-update-exporter" -> "net:monitor";
|
||||
"svc:error-pages" -> "net:traefik";
|
||||
"svc:gitea" -> "net:traefik";
|
||||
"svc:gitea-runner" -> "net:traefik";
|
||||
"svc:gotify" -> "net:traefik";
|
||||
"svc:grafana" -> "net:monitor";
|
||||
"svc:grafana" -> "net:traefik";
|
||||
"svc:gramps-redis" -> "net:gramps";
|
||||
"svc:grampsweb" -> "net:gramps";
|
||||
"svc:grampsweb" -> "net:traefik";
|
||||
"svc:grampsweb_celery" -> "net:gramps";
|
||||
"svc:influxdb" -> "net:monitor";
|
||||
"svc:influxdb" -> "net:traefik";
|
||||
"svc:monitor-kuma" -> "net:monitor";
|
||||
"svc:monitor-kuma" -> "net:traefik";
|
||||
"svc:mtls-bridge" -> "net:monitor";
|
||||
"svc:mtls-bridge" -> "net:traefik";
|
||||
"svc:nextcloud-db" -> "net:nextcloud";
|
||||
"svc:nextcloud-redis" -> "net:nextcloud";
|
||||
"svc:nextcloud-webapp" -> "net:nextcloud";
|
||||
"svc:nextcloud-webapp" -> "net:traefik";
|
||||
"svc:node-exporter" -> "net:monitor";
|
||||
"svc:node-red" -> "net:monitor";
|
||||
"svc:node-red" -> "net:traefik";
|
||||
"svc:passbolt-db" -> "net:passbolt";
|
||||
"svc:passbolt-webapp" -> "net:passbolt";
|
||||
"svc:passbolt-webapp" -> "net:traefik";
|
||||
"svc:pihole-exporter" -> "net:monitor";
|
||||
"svc:portainer" -> "net:traefik";
|
||||
"svc:prometheus" -> "net:monitor";
|
||||
"svc:prometheus" -> "net:traefik";
|
||||
"svc:searxng-webapp" -> "net:traefik";
|
||||
"svc:telegraf" -> "net:monitor";
|
||||
"svc:traefik" -> "net:traefik";
|
||||
}
|
||||
|
||||
@@ -1,13 +1 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.43.0 (0)
|
||||
-->
|
||||
<!-- Title: Compose Pages: 1 -->
|
||||
<svg width="8pt" height="8pt"
|
||||
viewBox="0.00 0.00 8.00 8.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 4)">
|
||||
<title>Compose</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-4 4,-4 4,4 -4,4"/>
|
||||
</g>
|
||||
</svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="640" height="80"><text x="10" y="40">Graphviz dot not found in environment.</text></svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 571 B After Width: | Height: | Size: 136 B |
@@ -1,24 +1,57 @@
|
||||
# Docker Compose Inventory
|
||||
|
||||
Source fingerprint: `d6aa78e3317a`
|
||||
Source fingerprint: `aadce80b9c30`
|
||||
|
||||
## Summary
|
||||
|
||||
| Item | Count |
|
||||
|---|---:|
|
||||
| Services | 0 |
|
||||
| Networks | 0 |
|
||||
| Services | 28 |
|
||||
| Networks | 5 |
|
||||
| Volumes | 0 |
|
||||
|
||||
## Services
|
||||
|
||||
| Service | Container | Image | Build | Profiles | Networks | Ports | Restart |
|
||||
|---|---|---|---|---|---|---|---|
|
||||
| authelia | authelia | authelia/authelia | /home/nixos/docker/core/authelia | core, all, authelia, traefik | traefik | | always |
|
||||
| crowdsec | crowdsec | | /home/nixos/docker/core/crowdsec | core, all, crowdsec, traefik | traefik | | always |
|
||||
| docker-socket-proxy | docker-socket-proxy | tecnativa/docker-socket-proxy:latest | | monitoring, all, docker-socket-proxy, core, traefik, prometheus | monitor, traefik | | unless-stopped |
|
||||
| docker-update-exporter | docker-update-exporter | | /home/nixos/docker/monitoring/docker-exporter | monitoring, all, docker-exporter, prometheus | monitor | | unless-stopped |
|
||||
| error-pages | error-pages | tarampampam/error-pages:3 | | core, all, error-pages, traefik | traefik | | always |
|
||||
| gitea | gitea | gitea/gitea:latest | | apps, all, gitea | traefik | | always |
|
||||
| gitea-runner | gitea-runner | gitea/act_runner:latest | | apps, all, gitea, ci | traefik | | always |
|
||||
| gotify | gotify | gotify/server:latest | | monitoring, all, gotify | traefik | | always |
|
||||
| grafana | grafana | grafana/grafana:latest | | monitoring, all, grafana | monitor, traefik | | unless-stopped |
|
||||
| gramps-redis | gramps-redis | valkey/valkey:8-alpine | | apps, all, gramps | gramps | | always |
|
||||
| grampsweb | gramps-web | ghcr.io/gramps-project/grampsweb:latest | | apps, all, gramps | gramps, traefik | | always |
|
||||
| grampsweb_celery | gramps-web-celery | ghcr.io/gramps-project/grampsweb:latest | | apps, all, gramps | gramps | | always |
|
||||
| influxdb | influxdb | influxdb:2.7 | | monitoring, all, influxdb, prometheus | monitor, traefik | | unless-stopped |
|
||||
| monitor-kuma | monitor-kuma | louislam/uptime-kuma:2.1.1 | | monitoring, all, uptime-kuma | monitor, traefik | | always |
|
||||
| mtls-bridge | mtls-bridge | | /home/nixos/docker/monitoring/mtls-bridge | monitoring, all, mtls-bridge | monitor, traefik | | unless-stopped |
|
||||
| nextcloud-db | nextcloud-db | mariadb:11.4 | | apps, all, nextcloud | nextcloud | | always |
|
||||
| nextcloud-redis | nextcloud-redis | redis | | apps, all, nextcloud | nextcloud | | always |
|
||||
| nextcloud-webapp | nextcloud-webapp | | /home/nixos/docker/apps/nextcloud | apps, all, nextcloud | nextcloud, traefik | | always |
|
||||
| node-exporter | node-exporter | prom/node-exporter:latest | | monitoring, all, node-exporter, prometheus | monitor | | unless-stopped |
|
||||
| node-red | node-red | | /home/nixos/docker/monitoring/node-red | monitoring, all, node-red | monitor, traefik | | unless-stopped |
|
||||
| passbolt-db | passbolt-db | mariadb:12 | | apps, all, passbolt | passbolt | | always |
|
||||
| passbolt-webapp | passbolt-webapp | passbolt/passbolt:latest-ce | | apps, all, passbolt | passbolt, traefik | | always |
|
||||
| pihole-exporter | pihole-exporter | ekofr/pihole-exporter:latest | | monitoring, all, pihole-exporter, prometheus | monitor | {'mode': 'ingress', 'target': 9617, 'published': '9617', 'protocol': 'tcp'} | unless-stopped |
|
||||
| portainer | portainer | portainer/portainer-ce:latest | | monitoring, all, portainer | traefik | | unless-stopped |
|
||||
| prometheus | prometheus | prom/prometheus:latest | | monitoring, all, prometheus | monitor, traefik | | unless-stopped |
|
||||
| searxng-webapp | searxng-webapp | searxng/searxng | | apps, all, searxng | traefik | | always |
|
||||
| telegraf | telegraf | telegraf:latest | | monitoring, all, telegraf, prometheus | monitor | | unless-stopped |
|
||||
| traefik | traefik | traefik:3 | /home/nixos/docker/core | core, all, traefik | traefik | {'mode': 'ingress', 'target': 80, 'published': '80', 'protocol': 'tcp'}, {'mode': 'ingress', 'target': 443, 'published': '443', 'protocol': 'tcp'} | always |
|
||||
|
||||
## Networks
|
||||
|
||||
| Network | Driver | External |
|
||||
|---|---|---|
|
||||
| gramps | | False |
|
||||
| monitor | | False |
|
||||
| nextcloud | | False |
|
||||
| passbolt | | False |
|
||||
| traefik | bridge | False |
|
||||
|
||||
## Volumes
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,21 @@
|
||||
# Traefik Routes
|
||||
|
||||
No Traefik routes were detected.
|
||||
| Service | Router | Rule | Entrypoints | TLS | Middlewares | Target Port |
|
||||
|---|---|---|---|---|---|---|
|
||||
| authelia | authelia | Host(`auth.lan.ddnsgeek.com`) | websecure | true | | |
|
||||
| error-pages | error-pages-router | HostRegexp(`{host:.+}`) | web | | error-pages-middleware | |
|
||||
| gitea | gitea | Host(`gitea.lan.ddnsgeek.com`) | websecure | true | | 3000 |
|
||||
| gotify | gotify | Host(`gotify.lan.ddnsgeek.com`) | websecure | | | 80 |
|
||||
| grafana | grafana | Host(`grafana.lan.ddnsgeek.com`) | websecure | | | 3000 |
|
||||
| grampsweb | gramps | Host(`familytree.lan.ddnsgeek.com`) | websecure | | | 5000 |
|
||||
| influxdb | influxdb | Host(`influxdb.lan.ddnsgeek.com`) | websecure | | authelia | 8086 |
|
||||
| monitor-kuma | monitor | Host(`monitor-kuma.lan.ddnsgeek.com`) | websecure | true | | 3001 |
|
||||
| mtls-bridge | mtls-bridge | Host(`mtls-bridge.lan.ddnsgeek.com`) | websecure | | mtls-bridge-auth,mtls-bridge-cors | 8080 |
|
||||
| mtls-bridge | mtls-bridge-preflight | Host(`mtls-bridge.lan.ddnsgeek.com`) && Method(`OPTIONS`) | websecure | | mtls-bridge-cors | |
|
||||
| nextcloud-webapp | nextcloud | Host(`nextcloud.lan.ddnsgeek.com`) | websecure | | nextcloud-dav, nextcloud-webfinger | |
|
||||
| node-red | node-red | Host(`node-red.lan.ddnsgeek.com`) | websecure | | authelia | 1880 |
|
||||
| passbolt-webapp | passbolt | Host(`passbolt.lan.ddnsgeek.com`) | websecure | | | |
|
||||
| portainer | portainer | Host(`portainer.lan.ddnsgeek.com`) | websecure | true | | 9000 |
|
||||
| prometheus | prometheus | Host(`prometheus.lan.ddnsgeek.com`) | websecure | | authelia | 9090 |
|
||||
| searxng-webapp | searxng | Host(`searxng.lan.ddnsgeek.com`) | websecure | | | 8080 |
|
||||
| traefik | traefik | Host(`traefik.lan.ddnsgeek.com`) | websecure | | authelia | |
|
||||
|
||||
@@ -1,24 +1,57 @@
|
||||
# Docker Compose Inventory
|
||||
|
||||
Source fingerprint: `d6aa78e3317a`
|
||||
Source fingerprint: `aadce80b9c30`
|
||||
|
||||
## Summary
|
||||
|
||||
| Item | Count |
|
||||
|---|---:|
|
||||
| Services | 0 |
|
||||
| Networks | 0 |
|
||||
| Services | 28 |
|
||||
| Networks | 5 |
|
||||
| Volumes | 0 |
|
||||
|
||||
## Services
|
||||
|
||||
| Service | Container | Image | Build | Profiles | Networks | Ports | Restart |
|
||||
|---|---|---|---|---|---|---|---|
|
||||
| authelia | authelia | authelia/authelia | /home/nixos/docker/core/authelia | core, all, authelia, traefik | traefik | | always |
|
||||
| crowdsec | crowdsec | | /home/nixos/docker/core/crowdsec | core, all, crowdsec, traefik | traefik | | always |
|
||||
| docker-socket-proxy | docker-socket-proxy | tecnativa/docker-socket-proxy:latest | | monitoring, all, docker-socket-proxy, core, traefik, prometheus | monitor, traefik | | unless-stopped |
|
||||
| docker-update-exporter | docker-update-exporter | | /home/nixos/docker/monitoring/docker-exporter | monitoring, all, docker-exporter, prometheus | monitor | | unless-stopped |
|
||||
| error-pages | error-pages | tarampampam/error-pages:3 | | core, all, error-pages, traefik | traefik | | always |
|
||||
| gitea | gitea | gitea/gitea:latest | | apps, all, gitea | traefik | | always |
|
||||
| gitea-runner | gitea-runner | gitea/act_runner:latest | | apps, all, gitea, ci | traefik | | always |
|
||||
| gotify | gotify | gotify/server:latest | | monitoring, all, gotify | traefik | | always |
|
||||
| grafana | grafana | grafana/grafana:latest | | monitoring, all, grafana | monitor, traefik | | unless-stopped |
|
||||
| gramps-redis | gramps-redis | valkey/valkey:8-alpine | | apps, all, gramps | gramps | | always |
|
||||
| grampsweb | gramps-web | ghcr.io/gramps-project/grampsweb:latest | | apps, all, gramps | gramps, traefik | | always |
|
||||
| grampsweb_celery | gramps-web-celery | ghcr.io/gramps-project/grampsweb:latest | | apps, all, gramps | gramps | | always |
|
||||
| influxdb | influxdb | influxdb:2.7 | | monitoring, all, influxdb, prometheus | monitor, traefik | | unless-stopped |
|
||||
| monitor-kuma | monitor-kuma | louislam/uptime-kuma:2.1.1 | | monitoring, all, uptime-kuma | monitor, traefik | | always |
|
||||
| mtls-bridge | mtls-bridge | | /home/nixos/docker/monitoring/mtls-bridge | monitoring, all, mtls-bridge | monitor, traefik | | unless-stopped |
|
||||
| nextcloud-db | nextcloud-db | mariadb:11.4 | | apps, all, nextcloud | nextcloud | | always |
|
||||
| nextcloud-redis | nextcloud-redis | redis | | apps, all, nextcloud | nextcloud | | always |
|
||||
| nextcloud-webapp | nextcloud-webapp | | /home/nixos/docker/apps/nextcloud | apps, all, nextcloud | nextcloud, traefik | | always |
|
||||
| node-exporter | node-exporter | prom/node-exporter:latest | | monitoring, all, node-exporter, prometheus | monitor | | unless-stopped |
|
||||
| node-red | node-red | | /home/nixos/docker/monitoring/node-red | monitoring, all, node-red | monitor, traefik | | unless-stopped |
|
||||
| passbolt-db | passbolt-db | mariadb:12 | | apps, all, passbolt | passbolt | | always |
|
||||
| passbolt-webapp | passbolt-webapp | passbolt/passbolt:latest-ce | | apps, all, passbolt | passbolt, traefik | | always |
|
||||
| pihole-exporter | pihole-exporter | ekofr/pihole-exporter:latest | | monitoring, all, pihole-exporter, prometheus | monitor | {'mode': 'ingress', 'target': 9617, 'published': '9617', 'protocol': 'tcp'} | unless-stopped |
|
||||
| portainer | portainer | portainer/portainer-ce:latest | | monitoring, all, portainer | traefik | | unless-stopped |
|
||||
| prometheus | prometheus | prom/prometheus:latest | | monitoring, all, prometheus | monitor, traefik | | unless-stopped |
|
||||
| searxng-webapp | searxng-webapp | searxng/searxng | | apps, all, searxng | traefik | | always |
|
||||
| telegraf | telegraf | telegraf:latest | | monitoring, all, telegraf, prometheus | monitor | | unless-stopped |
|
||||
| traefik | traefik | traefik:3 | /home/nixos/docker/core | core, all, traefik | traefik | {'mode': 'ingress', 'target': 80, 'published': '80', 'protocol': 'tcp'}, {'mode': 'ingress', 'target': 443, 'published': '443', 'protocol': 'tcp'} | always |
|
||||
|
||||
## Networks
|
||||
|
||||
| Network | Driver | External |
|
||||
|---|---|---|
|
||||
| gramps | | False |
|
||||
| monitor | | False |
|
||||
| nextcloud | | False |
|
||||
| passbolt | | False |
|
||||
| traefik | bridge | False |
|
||||
|
||||
## Volumes
|
||||
|
||||
|
||||
@@ -1,13 +1 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.43.0 (0)
|
||||
-->
|
||||
<!-- Title: Compose Pages: 1 -->
|
||||
<svg width="8pt" height="8pt"
|
||||
viewBox="0.00 0.00 8.00 8.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 4)">
|
||||
<title>Compose</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-4 4,-4 4,4 -4,4"/>
|
||||
</g>
|
||||
</svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="640" height="80"><text x="10" y="40">Graphviz dot not found in environment.</text></svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 571 B After Width: | Height: | Size: 136 B |
@@ -1,3 +1,21 @@
|
||||
# Traefik Routes
|
||||
|
||||
No Traefik routes were detected.
|
||||
| Service | Router | Rule | Entrypoints | TLS | Middlewares | Target Port |
|
||||
|---|---|---|---|---|---|---|
|
||||
| authelia | authelia | Host(`<internal-domain>`) | websecure | true | | |
|
||||
| error-pages | error-pages-router | HostRegexp(`{host:.+}`) | web | | error-pages-middleware | |
|
||||
| gitea | gitea | Host(`<internal-domain>`) | websecure | true | | 3000 |
|
||||
| gotify | gotify | Host(`<internal-domain>`) | websecure | | | 80 |
|
||||
| grafana | grafana | Host(`<internal-domain>`) | websecure | | | 3000 |
|
||||
| grampsweb | gramps | Host(`<internal-domain>`) | websecure | | | 5000 |
|
||||
| influxdb | influxdb | Host(`<internal-domain>`) | websecure | | authelia | 8086 |
|
||||
| monitor-kuma | monitor | Host(`<internal-domain>`) | websecure | true | | 3001 |
|
||||
| mtls-bridge | mtls-bridge | Host(`<internal-domain>`) | websecure | | mtls-bridge-auth,mtls-bridge-cors | 8080 |
|
||||
| mtls-bridge | mtls-bridge-preflight | Host(`<internal-domain>`) && Method(`OPTIONS`) | websecure | | mtls-bridge-cors | |
|
||||
| nextcloud-webapp | nextcloud | Host(`<internal-domain>`) | websecure | | nextcloud-dav, nextcloud-webfinger | |
|
||||
| node-red | node-red | Host(`<internal-domain>`) | websecure | | authelia | 1880 |
|
||||
| passbolt-webapp | passbolt | Host(`<internal-domain>`) | websecure | | | |
|
||||
| portainer | portainer | Host(`<internal-domain>`) | websecure | true | | 9000 |
|
||||
| prometheus | prometheus | Host(`<internal-domain>`) | websecure | | authelia | 9090 |
|
||||
| searxng-webapp | searxng | Host(`<internal-domain>`) | websecure | | | 8080 |
|
||||
| traefik | traefik | Host(`<internal-domain>`) | websecure | | authelia | |
|
||||
|
||||
@@ -22,4 +22,19 @@ if [ ! -f "$ENV_FILE" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
docker compose -p core --env-file "$ENV_FILE" "${ARGS[@]}" config > docs/generated/docker-compose.resolved.yml
|
||||
docker compose -p core --env-file "$ENV_FILE" --profile all "${ARGS[@]}" config > docs/generated/docker-compose.resolved.yml
|
||||
|
||||
service_count="$(
|
||||
python3 - <<'PY'
|
||||
import yaml
|
||||
from pathlib import Path
|
||||
|
||||
data = yaml.safe_load(Path("docs/generated/docker-compose.resolved.yml").read_text()) or {}
|
||||
print(len(data.get("services") or {}))
|
||||
PY
|
||||
)"
|
||||
|
||||
if [ "$service_count" -eq 0 ]; then
|
||||
echo "ERROR: rendered compose config contains zero services; check --profile all / COMPOSE_PROFILES." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user