forked from coop-cloud/federatedwiki
replace var where fixed name is. Update README.
This commit is contained in:
parent
10d66575cf
commit
d059b04de0
40
README.md
40
README.md
|
@ -1,26 +1,24 @@
|
||||||
# Federated Wiki
|
# Fedwiki
|
||||||
|
|
||||||
Share pages circulating within a creative commons
|
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/).
|
||||||
|
|
||||||
<!-- metadata -->
|
|
||||||
* **Category**: Apps
|
|
||||||
* **Status**: 0, work-in-progress
|
|
||||||
* **Image**: [`dobbs/farm`](https://hub.docker.com/r/dobbs/farm/), 4, upstream
|
|
||||||
* **Healthcheck**: No
|
|
||||||
* **Backups**: No
|
|
||||||
* **Email**: No
|
|
||||||
* **Tests**: No
|
|
||||||
* **SSO**: No
|
|
||||||
<!-- endmetadata -->
|
|
||||||
|
|
||||||
## Basic usage
|
## Deploying the app with Docker Swarm
|
||||||
|
|
||||||
1. Set up Docker Swarm and [`abra`]
|
Set the environment variables from the .env file during the shell session.
|
||||||
2. Deploy [`coop-cloud/traefik`]
|
|
||||||
3. `abra app new federatedwiki`
|
|
||||||
4. `abra app config YOURAPPDOMAIN` - be sure to change `DOMAIN` to something that resolves to
|
|
||||||
your Docker swarm box
|
|
||||||
5. `abra app deploy YOURAPPDOMAIN`
|
|
||||||
|
|
||||||
[`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra
|
```
|
||||||
[`coop-cloud/traefik`]: https://git.autonomic.zone/coop-cloud/traefik
|
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
|
||||||
|
```
|
|
@ -3,7 +3,7 @@ services:
|
||||||
image: dobbs/farm:1.0.20
|
image: dobbs/farm:1.0.20
|
||||||
command: /bin/sh entrypoint.sh
|
command: /bin/sh entrypoint.sh
|
||||||
volumes:
|
volumes:
|
||||||
- "${FEDWIKI_VOLUME}:/home/node/.wiki"
|
- "fedwiki_data:/home/node/.wiki"
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
configs:
|
configs:
|
||||||
|
@ -47,7 +47,7 @@ process.exit(1); }); request.end();'"
|
||||||
start_period: 30s
|
start_period: 30s
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
fedwiki:
|
fedwiki_data:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
|
|
Loading…
Reference in New Issue