Compare commits
6 Commits
main
...
srwadleigh
Author | SHA1 | Date | |
---|---|---|---|
|
6662252649 | ||
|
0b88d47832 | ||
|
62a78d48fc | ||
|
80713153d8 | ||
|
ca057925da | ||
|
a3e141769a |
41
app/data/stacks/keycloak/README.md
Normal file
41
app/data/stacks/keycloak/README.md
Normal file
@ -0,0 +1,41 @@
|
||||
# keycloak
|
||||
|
||||
Deploys a stand alone [keycloak](https://www.keycloak.org)
|
||||
|
||||
## Clone required repositories
|
||||
|
||||
```
|
||||
$ laconic-so --stack keycloak setup-repositories
|
||||
```
|
||||
|
||||
## Build containers
|
||||
|
||||
```
|
||||
$ laconic-so --stack keycloak build-containers
|
||||
```
|
||||
|
||||
## Create a deployment
|
||||
|
||||
```
|
||||
$ laconic-so --stack keycloak deploy init --map-ports-to-host any-same --output keycloak-spec.yml
|
||||
$ laconic-so deploy create --spec-file keycloak-spec.yml --deployment-dir keycloak-deployment
|
||||
```
|
||||
|
||||
## Start the stack
|
||||
|
||||
```
|
||||
$ laconic-so deployment --dir keycloak-deployment start
|
||||
```
|
||||
|
||||
Display stack status:
|
||||
|
||||
```
|
||||
$ laconic-so deployment --dir keycloak-deployment ps
|
||||
Running containers:
|
||||
```
|
||||
|
||||
See stack logs:
|
||||
|
||||
```
|
||||
$ laconic-so deployment --dir keycloak-deployment logs
|
||||
```
|
14
app/data/stacks/keycloak/deploy/commands.py
Normal file
14
app/data/stacks/keycloak/deploy/commands.py
Normal file
@ -0,0 +1,14 @@
|
||||
# Copyright © 2023 Vulcanize
|
||||
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http:#www.gnu.org/licenses/>.
|
13
app/data/stacks/keycloak/stack.yml
Normal file
13
app/data/stacks/keycloak/stack.yml
Normal file
@ -0,0 +1,13 @@
|
||||
version: "1.0"
|
||||
name: keycloak
|
||||
description: "Keycloak"
|
||||
repos:
|
||||
- git.vdb.to/cerc-io/keycloak-reg-api
|
||||
- git.vdb.to/cerc-io/keycloak-reg-ui
|
||||
containers:
|
||||
- cerc/keycloak
|
||||
- cerc/keycloak-reg-api
|
||||
- cerc/keycloak-reg-ui
|
||||
- cerc/webapp-base
|
||||
pods:
|
||||
- keycloak
|
Loading…
Reference in New Issue
Block a user