Favicon of Dokku

Dokku

Create a personal PaaS on any server. Push Heroku-compatible applications via Git and let Docker build and run them in isolated containers. No vendor lock-in.

Dokku is an open-source Platform as a Service that you can run on your own hardware, giving you a powerful alternative to services like Heroku. Powered by Docker, it helps you build and manage the entire lifecycle of your applications. Once configured on a host, you can deploy applications simply by pushing your code via Git.

The platform automatically builds your application using standard Heroku buildpacks and runs it within an isolated container. This provides you with your own personal, single-host version of Heroku without the associated costs or vendor lock-in.

Key features include:

  • Total Control: Install it on any server, from a low-cost cloud provider to a Raspberry Pi.
  • Git-Based Workflow: Deploy your applications using the familiar git push command.
  • Plugin Architecture: Extend its functionality with a rich ecosystem of plugins for databases, caching, SSL certificates, and more.
  • No Vendor Lock-in: Own your infrastructure and avoid being tied to a single provider's ecosystem.

Directory Structure

dokku
dokku-data
.env
docker-compose.yml

docker-compose.yml

services:
  dokku:
    image: dokku/dokku:latest
    container_name: dokku
    environment:
      - DOKKU_HOSTNAME=dokku.example.com
    ports:
      - "80:80"
      - "443:443"
      - "2222:22"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - ./dokku-data:/mnt/dokku
    restart: unless-stopped

.env

# Dokku does not require sensitive credentials in the environment by default.
# Authentication and access control are handled via SSH keys added post-installation.
# Example post-install command: cat ~/.ssh/id_rsa.pub | docker exec -i dokku dokku ssh-keys:add admin
Categories:

Share:

Ad
Favicon

 

  
 

Similar to Dokku

Favicon

 

  
  
Favicon

 

  
  
Favicon