Toegang
- Open je browser:
https://<SERVER_IP>/ - Er wordt een zelfondertekend SSL-certificaat gebruikt, dus bij het eerste bezoek is een browserwaarschuwing te verwachten.
Eerste installatie
- Open de installatiepagina:
https://<SERVER_IP>/setup - Volg de installatiewizard om uw instantie te configureren
- This will generate a
config.jsoninside the config directory
Installatienotities
- For a quick setup, select
SQLiteals database in de installatiewizard.Rediswordt niet standaard geïnstalleerd. Installeer en configureer het indien nodig handmatig. - Voor
Use SSL (a self-signed certificate will be generated that can be replaced), selecteerNo. HTTPS wordt al door Nginx geleverd met een zelfgetekend certificaat. - Instellen
Public Facing URLop de URL die gebruikers gebruiken om uw instantie te bereiken. Standaard is deze ingesteld alshttps://<SERVER_IP>/. Als u later een domein instelt, past u deze waarde daarop aan.
Belangrijke paden
- Installatiemap:
/root/gokapi - Docker Compose-bestand:
/root/gokapi/compose.yaml - Environment-bestand:
/root/gokapi/.env - Gegevensopslag:
/root/gokapi/gokapi-data - Configuratie:
/root/gokapi/gokapi-config - Nginx-config:
/etc/nginx/sites-available/gokapi - SSL-certificaat:
/etc/nginx/ssl/gokapi.crt - SSL-sleutel:
/etc/nginx/ssl/gokapi.key
Docker-beheer
Actieve containers bekijken:
docker compose -f /root/gokapi/compose.yaml ps
Alle containers herstarten:
docker compose -f /root/gokapi/compose.yaml restart
Volg de applicatielogs:
docker compose -f /root/gokapi/compose.yaml logs -f
Stop de applicatie:
docker compose -f /root/gokapi/compose.yaml down
Start de applicatie:
docker compose -f /root/gokapi/compose.yaml up -d
Nginx beheren
Status controleren:
systemctl status nginx
Nginx herstarten:
systemctl restart nginx
Nginx herladen:
systemctl reload nginx
Valideer de configuratie:
nginx -t