Skip to content

Examples

Real-world examples of Gokku deployments for different use cases.

Quick Navigation

Example Projects

Go REST API

Simple Go API with Docker deployment:

yaml
apps:
  api:
    path: ./cmd/api
    binary_name: api

View full example →

Python Flask App

Python web app with Docker:

yaml
apps:
  flask-app:
    lang: python
    path: ./app
    entrypoint: app.py

View full example →

Docker Deployment

Using custom Dockerfile:

yaml
apps:
  service:
    lang: python
    path: ./services/ml
    dockerfile: ./services/ml/Dockerfile

View full example →

Ruby on Rails

Full-stack Rails app with Docker deployment:

yaml
apps:
  rails-app:
    lang: ruby
    path: .

View full example →

React with Node.js API

React frontend with Express API backend:

yaml
apps:
  react-app:
    lang: nodejs
    path: .

View full example →

Monorepo with Multiple Apps

Deploy multiple services from one repository:

yaml
apps:
  api:
    path: ./cmd/api
  
  worker:
    path: ./cmd/worker
  
  ml-service:
    lang: python
    path: ./services/ml

View full example →

By Use Case

Microservices

Deploy multiple independent services:

With Database

Connect to PostgreSQL/MySQL:

With Cache

Use Redis for caching:

Background Jobs

Deploy workers and cron jobs:

Machine Learning

Deploy ML services with dependencies:

Real-time

WebSocket and real-time apps:

By Technology

Languages

Frameworks

Deployment

Community Examples

Share your examples! Submit a PR:

github.com/thadeu/gokku/tree/main/examples

Need Help?

Released under the MIT License.