Toegang tot Ghost-beheerder
URL: https://<server-ip>/ghost
Voltooi de initiële installatie: creëer een admin-gebruiker en configureer de site.
Beheer Ghost via Docker Compose
cd /root/ghost docker compose ps # View running containers docker compose up -d # Start Ghost docker compose down # Stop Ghost docker compose restart # Restart Ghost
Referenties en configuratie
Opgeslagen in /root/ghost/.env en /root/ghost/docker-compose.yml.
E-mail instellen
Reactie verwijderen mail sectie binnen /root/ghost/docker-compose.yml.
Containers opnieuw starten:
cd /root/ghost; docker compose restart
Zorg ervoor dat SMTP-toegang wordt verleend.
Voorbeeld met gebruik 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: your-app-password
Domein & SSL
Verwijs uw domein naar het server-IP.
Update /root/ghost/docker-compose.yml URL naar domein (url: https://uw-domein).
Containers opnieuw starten:
cd /root/ghost; docker compose restart
Voor Certbot SSL:
apt install -y certbot python3-certbot-nginx certbot certonly --nginx --non-interactive --agree-tos --email <your-email> -d <your-domain>
Vervang SSL-paden in /etc/nginx/sites-enabled/ghost.
# Example ssl_certificate /etc/letsencrypt/live/your-domain/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/your-domain/privkey.pem;
Nginx opnieuw laden:
nginx -t && systemctl reload nginx