Normalize compose service profiles by folder hierarchy

This commit is contained in:
beatz174-bit
2026-04-13 11:27:27 +10:00
parent 5c600d0af0
commit c1401e3e08
11 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
services:
authelia:
profiles: ["core","all","traefik"]
profiles: ["core","all","authelia"]
image: authelia/authelia
restart: always
build:
+1 -1
View File
@@ -1,7 +1,7 @@
services:
crowdsec:
profiles: ["core","all","crowdsec"]
# image: crowdsecurity/crowdsec:latest
profiles: ["core","all","traefik"]
build: ${PROJECT_ROOT}/core/crowdsec
container_name: crowdsec
restart: always
+1 -1
View File
@@ -1,6 +1,6 @@
services:
error-pages:
profiles: ["core","all","traefik"]
profiles: ["core","all","error-pages"]
image: tarampampam/error-pages:3
restart: always
container_name: error-pages
+2 -2
View File
@@ -2,7 +2,7 @@ services:
update-test:
image: nginx:1.28.1
container_name: update-test
profiles: ["test"]
profiles: ["core","all","test"]
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost"] # returns 0 if Nginx is up
interval: 5s
@@ -11,7 +11,7 @@ services:
start_period: 2s
docker-update-exporter-test:
profiles: ["test"]
profiles: ["core","all","test"]
build:
context: ${PROJECT_ROOT}/core/test
container_name: docker-update-exporter-test
@@ -1,6 +1,6 @@
services:
docker-update-exporter:
profiles: ["monitoring","all","prometheus-exporters"]
profiles: ["monitoring","all","docker-exporter"]
build:
context: ${PROJECT_ROOT}/monitoring/docker-exporter
container_name: docker-update-exporter
@@ -1,6 +1,6 @@
services:
docker-socket-proxy:
profiles: ["monitoring","all","prometheus","prometheus-exporters"]
profiles: ["monitoring","all","docker-socket-proxy"]
image: tecnativa/docker-socket-proxy:latest
container_name: docker-socket-proxy
hostname: docker-socket-proxy
@@ -1,6 +1,6 @@
services:
influxdb:
profiles: ["monitoring","all","prometheus"]
profiles: ["monitoring","all","influxdb-service"]
image: influxdb:2.7
container_name: influxdb
restart: unless-stopped
+1 -1
View File
@@ -1,6 +1,6 @@
services:
node-exporter:
profiles: ["monitoring","all","prometheus-exporters"]
profiles: ["monitoring","all","node-exporter"]
image: prom/node-exporter:latest
container_name: node-exporter
pid: host
+1 -1
View File
@@ -1,10 +1,10 @@
services:
node-red:
profiles: ["monitoring","all","node-red"]
# image: nodered/node-red:latest
build:
context: ${PROJECT_ROOT}/monitoring/node-red
container_name: node-red
profiles: ["monitoring","all"]
restart: unless-stopped
depends_on:
- docker-socket-proxy
@@ -1,6 +1,6 @@
services:
pihole-exporter:
profiles: ["monitoring","all","prometheus-exporters"]
profiles: ["monitoring","all","pihole-exporter"]
image: ekofr/pihole-exporter:latest
container_name: pihole-exporter
# env_file:
+1 -1
View File
@@ -1,6 +1,6 @@
services:
telegraf:
profiles: ["monitoring","all","prometheus"]
profiles: ["monitoring","all","telegraf"]
image: telegraf:latest
container_name: telegraf
restart: unless-stopped