modified: serv_nginx/Makefile

modified:   serv_nginx/docker-compose.yml
add some commands TO KECLOAK
This commit is contained in:
2025-10-21 04:06:55 +05:00
parent a5c5b986e0
commit 5e37e8c920
2 changed files with 28 additions and 17 deletions
-9
View File
@@ -23,15 +23,6 @@ api_bb_logs:
restart:
docker compose down && docker compose up -d
stop_nginx:
docker compose down nginx
build_nginx:
docker compose build nginx --no-cache
run_nginx: stop_nginx build_nginx
docker compose up nginx -d
npm_clean:
npm cache clean --force
+22 -2
View File
@@ -68,7 +68,15 @@ services:
networks:
- app-network
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/health"]
test:
[
"CMD",
"wget",
"--no-verbose",
"--tries=1",
"--spider",
"http://localhost:8080/health",
]
interval: 30s
timeout: 10s
retries: 3
@@ -118,7 +126,15 @@ services:
networks:
- bb-network
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/api/health"]
test:
[
"CMD",
"wget",
"--no-verbose",
"--tries=1",
"--spider",
"http://localhost:8080/api/health",
]
interval: 30s
timeout: 10s
retries: 3
@@ -175,6 +191,10 @@ services:
command:
- start
- --optimized
- --db=postgres
- --db-url=jdbc:postgresql://keycloak-db:5432/keycloak
- --db-username=keycloak
- --db-password=${KEYCLOAK_DB_PASSWORD:-keycloak}
volumes:
- keycloak_data:/opt/keycloak/data
- ./keycloak/themes:/opt/keycloak/themes