stack-orchestrator/app/data/stacks/keycloak/README.md

42 lines
734 B
Markdown
Raw Normal View History

2023-10-25 17:59:47 +00:00
# keycloak
2023-10-25 17:59:47 +00:00
Deploys a stand alone [keycloak](https://www.keycloak.org)
## Clone required repositories
```
2023-10-25 17:59:47 +00:00
$ laconic-so --stack keycloak setup-repositories
```
## Build containers
```
2023-10-25 17:59:47 +00:00
$ laconic-so --stack keycloak build-containers
```
## Create a deployment
```
2023-12-06 21:49:49 +00:00
$ laconic-so --stack keycloak deploy init --map-ports-to-host any-same --output keycloak-spec.yml
2023-10-25 17:59:47 +00:00
$ laconic-so deploy create --spec-file keycloak-spec.yml --deployment-dir keycloak-deployment
```
2023-12-06 21:51:36 +00:00
## Start the stack
2023-12-06 21:51:36 +00:00
```
2023-10-25 17:59:47 +00:00
$ laconic-so deployment --dir keycloak-deployment start
```
2023-12-06 21:51:36 +00:00
Display stack status:
2023-12-06 21:51:36 +00:00
```
2023-10-25 17:59:47 +00:00
$ laconic-so deployment --dir keycloak-deployment ps
Running containers:
```
2023-12-06 21:51:36 +00:00
2023-10-25 17:59:47 +00:00
See stack logs:
2023-12-06 21:51:36 +00:00
```
2023-10-25 17:59:47 +00:00
$ laconic-so deployment --dir keycloak-deployment logs
```