gopaddle User Guide
  • 👋Welcome to gopaddle
  • Overview
    • 💡Getting Started
    • Register a Cluster
      • Register Rancher Prime - RKE2
      • Register K3S
      • Register MicroK8s
      • Register Kind
      • Register minikube
      • Register Kubeadm Cluster
      • Register AWS EKS Cluster
        • EKS Cluster with public or public/private access point
        • EKS Cluster with private access endpoint and a bastion host
        • Validate Cluster Connectivity
      • Register Azure AKS Cluster
      • Register Google GKE Cluster
      • Register Huawei Cloud Container Engine
    • Register GitHub Account
    • Register Jira Account
    • Register ChatGPT Assistant
    • 💻Kubernetes IDE
      • Filters
      • Editor
      • Flat vs Tree View
      • Developer Tools
    • 🙋AI Assistant
      • Chat with AI
      • Raise a Jira Ticket from Chat Window
      • Create Runbook from Chat Window
    • 📖Runbook Hub
      • Create Runbook Hub
      • Attach Runbook Hub to Cluster
      • Enhancing contents of Runbooks with AI
      • Detach Runbook Hub from Cluster
      • Syncing Runbook Hub with GitHub
      • Delete Runbook / Runbook Hub
    • ⏱️Installing Community Edition
      • MicroK8s Addon
        • On Ubuntu
        • On MacOS
      • Docker Desktop
      • SUSE Rancher Prime
      • Digital Ocean
      • Akamai Linode
      • Kind Cluster
      • Helm
      • Docker Compose
      • Accessing gopaddle UI
    • 📈Improving performance of resource discovery
    • Provision new Cluster
      • Register Cloud Account
        • AWS
          • Quickstart AWS Setup
          • IAM Access Policies
          • AWS Setup Script
        • Azure
          • Create Azure Application
          • Register Azure Cloud Authenticator
          • Register Azure Account
        • Google
      • Provision Clusters on Cloud
        • AWS EKS
          • AWS EKS Reference Architecture
          • Adding an AWS IAM Role (EKS Master / Node Pool)
          • Public EKS Cluster
          • All Private EKS Cluster (beta)
          • Creating a Node Pool
        • Azure AKS
          • Creating a Node Pool
          • Enable Public IP Node Access for Azure Deployments
          • VMSS Autoscaling Rules
        • Google GKE
          • Creating a Node Pool
  • 🔎Troubleshooting
    • Cluster Resource View Issues
      • Network Error ! ServerError: Response not successful: Received status code 503
      • Network Error ! TypeError: Failed to fetch
      • Network Error ! ServerParseError: Unexpected token 'j', "json: erro"... is not valid JSON
      • Updating Labels and Annotations does not get reflected in resources list
      • Filtered resources are not fully listed
    • Runbook Issues
      • Deleting a runbook from .gp.yaml does not detach annotation in resources
      • Deleting a Code Account from gopaddle UI does not detach annotation in resources
    • Jira Issues
      • Creating, Updating or Appending a Jira issue fails with error INVALID_INPUT
    • EKS Issues
    • Deployment Issues
    • Node Issues
    • Huawei Issues
Powered by GitBook
On this page
  1. Overview
  2. Installing Community Edition

Docker Compose

Install gopaddle community edition using Docker Compose

PreviousHelmNextAccessing gopaddle UI

Last updated 1 year ago

  1. Install Docker Engine in your local environment by following steps

  2. Install Docker Compose in your local environment by following steps

  3. Create a directory to save the docker compose file.

mkdir -p gopaddle
cd gopaddle
  1. Create a Docker compose file with the following content and save the file

services:
  gopaddle:
    depends_on: 
      - mongodb
      - redis
    image: gopaddle/gplite
    ports:
      - "8006:8006"
      - "8080:8080"
      - "8017:8017"
      - "8009:8009"
      - "8011:8011"
      - "9090:9090"
    environment:
      BASE_SERVER: http://localhost:8006
      GP_RELEASE: 4.2.7
      INSTALL_SOURCE: lite
      CLUSTER_TYPE: docker
      NODE_IP: http://localhost:8006
      DOMAIN_NAME: http://localhost:8006
      WEBHOOK_NODE_IP: http://localhost:9090
    healthcheck:
      test: curl --fail http://localhost:8080 || exit 1
      interval: 10s
      retries: 5
      start_period: 30s
      timeout: 30s
  mongodb:
    container_name: mongodb
    image: mongo:4.0.4
    restart: always
    environment:
      MONGO_INITDB_ROOT_USERNAME: admin
      MONGO_INITDB_ROOT_PASSWORD: cGFzc3dvcmQ
      MONGO_LITE_USERNAME: lite
    volumes:
      - type: bind
        source: ~/mongodb
        target: /var/lib/mongodb
        bind:
          create_host_path: true
  redis:
    image: gopaddle/redis:3.2-alpine
    container_name: redis
  influxdb:
    image: gopaddle/influxdb:1.7.0
    container_name: influxdb
    environment:
      INFLUXDB_ADMIN_PASSWORD: cGFzc3dvcmQ
      INFLUXDB_ADMIN_USER: admin
      INFLUXDB_HTTP_AUTH_ENABLED: "true"
    volumes:
      - type: bind
        source: ~/influxdb
        target: /var/lib/influxdb
        bind:
          create_host_path: true
  esearch:
    image: elasticsearch:7.12.0
    container_name: esearch
    environment:
      discovery.type: single-node
      ELASTIC_PASSWORD: cGFzc3dvcmQ
  rabbitmq:
    image: gopaddle/rabbitmq:3.8.5
    container_name: rabbitmq
  1. Deploy the docker compose file as below:

docker compose up
  1. Access the gopaddle UI @ http://localhosts:8080

these
these
⏱️
Page cover image