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:
|
restart:
|
||||||
docker compose down && docker compose up -d
|
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_clean:
|
||||||
npm cache clean --force
|
npm cache clean --force
|
||||||
|
|
||||||
|
|||||||
@@ -68,7 +68,15 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- app-network
|
- app-network
|
||||||
healthcheck:
|
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
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
@@ -118,7 +126,15 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- bb-network
|
- bb-network
|
||||||
healthcheck:
|
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
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
@@ -175,6 +191,10 @@ services:
|
|||||||
command:
|
command:
|
||||||
- start
|
- start
|
||||||
- --optimized
|
- --optimized
|
||||||
|
- --db=postgres
|
||||||
|
- --db-url=jdbc:postgresql://keycloak-db:5432/keycloak
|
||||||
|
- --db-username=keycloak
|
||||||
|
- --db-password=${KEYCLOAK_DB_PASSWORD:-keycloak}
|
||||||
volumes:
|
volumes:
|
||||||
- keycloak_data:/opt/keycloak/data
|
- keycloak_data:/opt/keycloak/data
|
||||||
- ./keycloak/themes:/opt/keycloak/themes
|
- ./keycloak/themes:/opt/keycloak/themes
|
||||||
|
|||||||
Reference in New Issue
Block a user