Update server configuration documentation

This commit is contained in:
Pieter Vander Vennet 2024-07-09 10:44:18 +02:00
parent b55b3d3ed9
commit 1629cddaf1

View file

@ -12,4 +12,18 @@ https://dynamicdns.park-your-domain.com/update?host=cache&domain=mapcomplete.org
See [SettingUpPSQL.md](../SettingUpPSQL.md)
## Services
### Summary tiles + MVT-tiles
### Mastodon bot
As of 2024-07-08, the mastodon bots [@mapcomplete@botsin.space](https://botsin.space/@mapcomplete) and [@ghostbikebot@masto.bike](https://masto.bike/@ghostbikebot) are running on this server.
They use [this repo](https://github.com/pietervdvn/MastodonBot). Note that this needs a residential internet connection as fetching the attribution from IMGUR fails on the hetzner host.
In the crontab:
```cronexp
0 0 * * * cd ~/git/MastodonBot && nvm use && npm run daily && npm run start -- config/config.json
0 0 1 * * cd ~/git/MastodonBot && nvm use && npm run daily && npm run start -- config/config_ghost-bikes.json
```