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:
  app-name: api
    path: ./cmd/api
      binary_name: api

View full example →

Python Flask App

Python web app with Docker:

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

View full example →

Docker Deployment

Using custom Dockerfile:

yaml
apps:
  app-name: 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:
  app-name: rails-app
    lang: ruby
    path: .

View full example →

React with Node.js API

React frontend with Express API backend:

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

View full example →

Monorepo with Multiple Apps

Deploy multiple services from one repository:

yaml
apps:
  app-name: api
    path: ./cmd/api
  
  app-name: worker
    path: ./cmd/worker
  
  app-name: 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.