Add deployment
This commit is contained in:
17
README.md
17
README.md
@ -21,3 +21,20 @@ A service to facilitate collective digital publishing practices.
|
||||
- **cloud.lumbung.space**: Using [Nextcloud flows](https://nextcloud.com/blog/nextcloud-flow-makes-it-easy-to-automate-actions-and-workflows/), we can trigger an outgoing HTTP request towards `pubspace`
|
||||
- **tv.lumbung.space**: Using [a federation client](https://mastodonpy.readthedocs.io/) we can watch for specific hashtags to trigger publishing
|
||||
- **social.lumbung.space**: Using [a federation client](https://mastodonpy.readthedocs.io/), we can watch for specific hashtags to trigger publishing
|
||||
|
||||
## Nextcloud flow script
|
||||
|
||||
```bash
|
||||
echo "TODO"
|
||||
```
|
||||
|
||||
## Deployment
|
||||
|
||||
> Work In Progress
|
||||
|
||||
```
|
||||
$ printf $YOURMASTODONACCESSTOKEN | docker secret create publish_lumbung_space_access_token_v1 -
|
||||
$ cp .env.sample .env # and update the values to match the environment
|
||||
$ set -a && source .env && set +a
|
||||
$ docker stack deploy -c compose.yml publish_lumbung_space
|
||||
```
|
||||
|
Reference in New Issue
Block a user