forked from coop-cloud/federatedwiki
24 lines
619 B
Markdown
24 lines
619 B
Markdown
# Fedwiki
|
|
|
|
Wiki Cafe's configuration for a Nextcloud deployment. Originally slimmed down from an `abra` [recipe](https://git.coopcloud.tech/coop-cloud/federatedwiki) by [Co-op Cloud](https://coopcloud.tech/).
|
|
|
|
|
|
## Deploying the app with Docker Swarm
|
|
|
|
Set the environment variables from the .env file during the shell session.
|
|
|
|
```
|
|
set -a && source .env && set +a
|
|
```
|
|
|
|
Set the secrets.
|
|
|
|
```
|
|
printf "SECRET_HERE" | docker secret create SECRET_NAME -
|
|
```
|
|
|
|
Deploy using the `-c` flag to specify one or multiple compose files.
|
|
|
|
```
|
|
docker stack deploy fedwiki -c compose.yaml -c compose.lib.yaml -c compose.wikicafe.yaml
|
|
``` |