Toegang tot Ghost Admin
URL: https://<server-ip>/ghost
Volledige eerste installatie: beheerder aanmaken en site configureren.
Beheer Ghost via Docker Compose
cd /root/ghost docker compose ps # Bekijk actieve containers docker compose up -d # Start Ghost docker compose down # Stop Ghost docker compose restart # Start Ghost opnieuw op
Inloggegevens en configuratie
Opgeslagen in /root/ghost/.env en /root/ghost/docker-compose.yml.
E-mail instellen
Opmerking verwijderen mail sectie in /root/ghost/docker-compose.yml.
Containers opnieuw opstarten:
cd /root/ghost; docker compose herstart
Zorg ervoor dat SMTP-toegang wordt verleend.
Voorbeeld met behulp van Gmail-app-wachtwoord:
mail__transport: SMTP mail__options__host: smtp.gmail.com mail__options__port: 465 mail__options__secure: true mail__options__auth__user: [email protected] mail__options__auth__pass: uw-app-wachtwoord
Domein & SSL
Richt uw domein naar het IP-adres van de server.
Update /root/ghost/docker-compose.yml URL naar domein (url: https://your-domain).
Containers opnieuw opstarten:
cd /root/ghost; docker compose herstart
Voor Certbot SSL:
apt install -y certbot python3-certbot-nginx certbot certonly --nginx --non-interactive --agree-tos --email <your-email> -d <your-domain>
SSL-paden vervangen in /etc/nginx/sites-enabled/ghost.
# Voorbeeld ssl_certificate /etc/letsencrypt/live/uw-domein/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/uw-domein/privkey.pem;
Nginx opnieuw laden:
nginx -t && systemctl herlaad nginx