Merge pull request #22 from beatz174-bit/codex/update-profiles-in-docker-compose.yml-files

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