Plausible Analytics

Plausible - Privacy-friendly analytics

8000
Default Port
3
Services
19.5/20
Complexity
Medium
Memory Usage
Configuration

Installation Command

blastdock init plausible

Template Overview

Everything you need to deploy Plausible with BlastDock

Quick Deploy

One command deployment

Secure

Production-ready security

Configurable

Customizable settings

Scalable

Ready to scale up

What's Included

Plausible
plausible/analytics:latest
Postgresql
postgres:14-alpine
Clickhouse
clickhouse/clickhouse-server:22.6-alpine
Categories
Other
Security Features
Password Protection, Admin User
Resource Requirements
CPU: Medium, Memory: Medium , Storage Required

Quick Commands

blastdock init Initialize new project
blastdock deploy Deploy the application
blastdock status Check deployment status
blastdock logs View application logs

Quick Installation

Get Plausible up and running in minutes with our one-click installation.

BlastDock Installation

First, install BlastDock using pip (recommended):

Terminal
pip install blastdock

Then deploy Plausible with:

Terminal
blastdock init plausible

Interactive mode:

Terminal
blastdock init plausible -i

What's Included

Plausible
Container service
Postgresql
Container service
Clickhouse
Container service

BlastDock Commands

blastdock templates List available templates
blastdock status project Check deployment status
blastdock logs project View application logs
blastdock stop project Stop deployment

Configuration Options

Customize your Plausible installation with these configuration options.

6
Required Fields
0
Optional Fields
3
Auto-Generated Passwords

Http Port

HTTP port

port
Default: 8000
Required: Yes

Admin Email

Admin email

email
Required: Yes

Admin Password

Admin password

password
Default: ••••••••••••
Required: Yes
Security: Auto-generated

Postgres Password

PostgreSQL password

password
Default: ••••••••••••
Required: Yes
Security: Auto-generated

Secret Key Base

Secret key base

password
Default: ••••••••••••
Required: Yes
Security: Auto-generated

Domain

Site domain

domain
Default: localhost
Required: Yes

Docker Compose

Complete Docker Compose configuration for Plausible deployment.

3
Services
2
Volumes
1
Networks
1
Exposed Ports
docker-compose.yml
version: '3.8'

services:
  plausible:
    image: plausible/analytics:latest
    container_name: {{ project_name }}_plausible
    restart: unless-stopped
    depends_on:
      - postgresql
      - clickhouse
    ports:
      - "8000"
    environment:
      0: ADMIN_USER_EMAIL={{ admin_email }}
      1: ADMIN_USER_NAME=admin
      2: ADMIN_USER_PWD={{ admin_password }}
      - BASE_URL=http: //{{ domain }}:{{ http_port }}
      3: SECRET_KEY_BASE={{ secret_key_base }}
      - DATABASE_URL=postgres: //postgres:{{ postgres_password }}@postgresql:5432/plausible
      - CLICKHOUSE_DATABASE_URL=http: //clickhouse:8123/plausible
    networks:
      - plausible_network

  postgresql:
    image: postgres:14-alpine
    container_name: {{ project_name }}_postgresql
    restart: unless-stopped
    environment:
      0: POSTGRES_PASSWORD={{ postgres_password }}
      1: POSTGRES_DB=plausible
    volumes:
      - /var/lib/postgresql/data
    networks:
      - plausible_network

  clickhouse:
    image: clickhouse/clickhouse-server:22.6-alpine
    container_name: {{ project_name }}_clickhouse
    restart: unless-stopped
    volumes:
      - /var/lib/clickhouse
      - /etc/clickhouse-server/users.xml
    networks:
      - plausible_network

volumes:
  postgres_data:
    driver: local

  clickhouse_data:
    driver: local

networks:
  plausible_network:
    driver: bridge