mapcomplete/Docs/ServerConfig/hetzner/hetzner.txt

51 lines
950 B
Text
Raw Normal View History

2024-02-18 15:59:28 +01:00
# Hetzner
This server hosts the studio files and is used for expermintal builds.
For used ports, see the Caddyfile
2024-04-30 20:39:18 +02:00
To update caddy
2024-04-30 20:39:18 +02:00
```
cp Caddyfile /etc/caddy/
# If caddy was running via a console instead of as a service, do `caddy stop` now
systemctl reload caddy
```
2024-04-30 20:39:18 +02:00
Debug logs with: `journalctl -u caddy --no-pager | less +G`
2024-04-30 20:39:18 +02:00
Services:
### studio + theme sync
The studio server, handling those requests.
`npm run server:studio`
Additionally, this runs syncthing to make a backup of all theme files.
### LOD-server
A server scraping other websites.
`npm run server:ldjson`
### Error report server
A simple server logging everything it receives
`npm run server:errorreport`
### geo-ip
Provides geolocation based on
```
git clone https://github.com/pietervdvn/geoip-server
cd geoip-server
mkdir data
# Drop the databases from https://lite.ip2location.com/ in the data dir
npm run start
```