Normalize compose service profiles by folder hierarchy
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
services:
|
||||
authelia:
|
||||
profiles: ["core","all","traefik"]
|
||||
profiles: ["core","all","authelia"]
|
||||
image: authelia/authelia
|
||||
restart: always
|
||||
build:
|
||||
|
||||
@@ -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,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,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
|
||||
|
||||
Reference in New Issue
Block a user