MirrorNest
← Все руководства

Discourse

Discourse is a modern forum and community platform; its official install method is a single bootstrap script that sets up Docker and an all-in-one container for you.

Это руководство составлено на основе официальной документации Discourse, ссылка на которую есть выше — всегда сверяйте точные названия пакетов/версий там перед запуском этих команд на рабочем сервере, так как версии дистрибутива и проекта со временем меняются.
  1. 1Check server requirements

    Discourse recommends a 64-bit Linux server (Ubuntu LTS) with at least 2GB RAM and 20GB disk for a comfortable production install.

  2. 2Run the official installer

    wget -qO- https://raw.githubusercontent.com/discourse/discourse_docker/main/install-discourse | sudo bash

    The script installs Docker and git if missing, downloads the Discourse Docker configuration, and launches an interactive setup wizard. It takes about 5-10 minutes.

  3. 3Answer the setup wizard prompts

    You'll be asked for your domain (or a free Discourse-provided subdomain), admin email address(es), and optional SMTP credentials for outbound mail.

  4. 4Manage the container with launcher

    Ongoing operations (rebuild, restart, logs) are done via Discourse's launcher script inside /var/discourse.

    cd /var/discourse
    ./launcher rebuild app
  5. 5Create your admin account

    Visit your configured domain and register using one of the admin emails you supplied during setup to claim forum ownership.