Skip to content

Budibase container setup

Introduction

When I found out my employer was using the no-code platform Betty Blocks, my interest was piqued. While I enjoy writing code in languages like C# and JavaScript, the visual nature of no-code/low-code platforms appeals to me.

So, I began experimenting with these platforms. I started with Betty Blocks but soon realized it focuses entirely on enterprise users. For instance, a trial account requires a business email and company size. Additionally, it isn’t open source and lacks a self-hosted community edition, such as a Docker image. I encountered similar issues with Mendix and other products. After some searching, I discovered Budibase, which looks promising!

Budibase is an open-source low-code platform that enables users to quickly build internal tools, streamline workflows, and create efficient admin panels without extensive coding knowledge. It offers a user-friendly interface, pre-built components, and robust features to design customized solutions. Budibase supports various data sources, automations, and deployment options, making it versatile and scalable for different use cases.

I’m curious to see if I can build a simple web application with Budibase to replace the not-very-complicated stats and graphs from Grafana. I’d also like to see if it can communicate with Home Assistant. I think experimenting with Budibase would be a fun challenge.

Setup

  1. Create the folders needed by the container

    Run the following commands inside your home folder:

    # Open your terminal application
    cd ~
    mkdir -p budibase/data
    cd budibase
  2. Create the script needed to run the container

    Save the following script as budibase_run.sh:

    budibase_run.sh
    # To create this script use your text editor application, for example Nano
    docker run -d -t \
    --name=budibase \
    --hostname=budibase \
    -p 10000:80 \
    -v $PWD/data:/data \
    -e REDIS_PASSWORD='budibase' \
    -e TZ=Europe/Amsterdam \
    --restart unless-stopped \
    budibase/budibase:latest
    # IMPORTANT: Please read the instructions below
    Instructions:
    • Optional Replace docker with podman if needed
    • Required Replace port number 10000 with a port number that is available if needed.
    • Optional Replace $PWD/data with the location of your data if needed. This can be a fileserver mount
    • Optional Replace -e REDIS_PASSWORD='budibase' with your Redis password if needed. At the time of writing, the container will not start properly if this environment variable is not passed
    • Required Replace Europe/Amsterdam with your own timezone

    You can find more information about other environment variables you can set here. Any environment variables that are not set will automatically be pre-seeded with UUIDs.

  3. Run the script to create the container

    Run the following command:

    # Open your terminal application
    sudo sh budibase_run.sh

    The image budibase/budibase is automatically pulled and the container is created.

  4. Check the results

    If needed you can check if the container is running properly.

    Now you can use Budibase by opening a web browser and going to: http://localhost:10000. Replace localhost with the relevant IP address or FQDN if needed, and adjust the port if you changed it earlier.

Favorites

Comments

    No comments found for this note.

    Join the discussion for this note on Github. Comments appear on this page instantly.

    Copyright 2021- Fiction Becomes Fact