Start keycloak but need to fix bag with not found page

This commit is contained in:
2025-06-22 01:53:37 +03:00
parent 5e944fca12
commit 88c7a3fb9d
2 changed files with 10 additions and 7 deletions
+5 -5
View File
@@ -1,17 +1,17 @@
build:
@docker compose build
@docker compose --profile dev build
buildC:
@docker compose build --no-cache
@docker compose --profile dev build --no-cache
run:
run: stop
@docker compose --profile dev up -d --remove-orphans
stop:
@docker compose down
@docker compose --profile dev down
clean:
@docker builder prune
@docker builder --profile dev prune
test:
@go test ./api/src/auth/... -v
+5 -2
View File
@@ -112,13 +112,16 @@ services:
- prod
- dev
environment:
KEYCLOAK_USER: admin
KEYCLOAK_PASSWORD: admin
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin
KC_HOSTNAME: localhost
DB_VENDOR: postgres
DB_ADDR: kk_db # Имя сервиса PostgreSQL
DB_DATABASE: keycloak
DB_USER: postgres
DB_PASSWORD: postgres
KC_HTTP_ENABLED: "true"
command: start-dev
depends_on:
- kk_db
networks: