← Все руководства
Plausible Analytics
A lightweight, open-source, privacy-focused web analytics tool with a simple dashboard, positioned as a GDPR-friendly alternative to Google Analytics.
Это руководство составлено на основе официальной документации Plausible Analytics, ссылка на которую есть выше — всегда сверяйте точные названия пакетов/версий там перед запуском этих команд на рабочем сервере, так как версии дистрибутива и проекта со временем меняются.
1Clone the Community Edition repo
git clone https://github.com/plausible/community-edition.git plausible-cecd plausible-ceCheck the repo's Releases page for the latest tag and consider cloning that specific tag instead of the default branch.
2Create the .env configuration
touch .envecho "BASE_URL=https://plausible.example.com" >> .envecho "SECRET_KEY_BASE=$(openssl rand -base64 48)" >> .env3Start the stack
Plausible runs as three containers: the web app (Elixir), PostgreSQL for accounts, and ClickHouse for analytics events. ClickHouse needs at least 2 GB RAM at idle.
docker compose up -d4Create the first user
Visit your BASE_URL and register the first account through the web UI.