keycloak/README.md

25 lines
571 B
Markdown
Raw Permalink Normal View History

# Keycloak
2020-06-18 16:21:15 +00:00
2023-10-16 23:19:44 +00:00
Wiki Cafe's configuration for a Keycloak deployment. Originally slimmed down from an `abra` [recipe](https://git.coopcloud.tech/coop-cloud/keycloak) by [Co-op Cloud](https://coopcloud.tech/).
2020-09-29 23:58:35 +00:00
## Deploying the app with Docker Swarm
Set the environment variables from the .env file during the shell session.
```
2023-08-14 07:24:41 +00:00
set -a && source .env && set +a
```
2023-08-14 07:24:41 +00:00
Set the secrets.
2021-10-30 15:26:43 +00:00
```
2023-08-14 07:24:41 +00:00
printf "SECRET_HERE" | docker secret create SECRET_NAME -
```
Deploy using the `-c` flag to specify one or multiple compose files.
```
docker stack deploy keycloak -c compose.yaml
```