modified: serv_nginx/Makefile
modified: serv_nginx/docker-compose.yml add some commands TO KECLOAK
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user