Appearance
Deploying Optimibi Using Docker
About 390 wordsAbout 1 min
2025-03-27
Optimibi can be easily deployed using Docker. This guide provides the steps and commands to deploy the free version of Optimibi.
Prerequisites
Before you start, ensure you have the following:
- Docker installed on your machine. If you don't have Docker installed, you can download and install it from the Docker website.
Deployment Steps
Open a Terminal or Command Prompt:
- On Windows, you can use Command Prompt or PowerShell.
- On macOS or Linux, you can use the Terminal.
Pull the Optimibi Docker Image:
If you haven't already pulled the Optimibi Docker image, you can do so by running:
docker pull optimibi/bi-server
This command downloads the Optimibi Docker image to your local machine.
Run the Docker Container:
Use the following command to run the Optimibi Docker container:
docker run -itd --name optimibi -p 28080:28080 -p 25432:25432 optimibi/bi-server
Command explanation:
docker run
: This command is used to create and start a new Docker container.-itd
: These flags tell Docker to run the container in interactive mode (-i
), allocate a pseudo-TTY (-t
), and run it in detached mode (-d
), which means it will run in the background.--name optimibi
: Names the containeroptimibi
for easy reference.-p 28080:28080
: Maps port 28080 on your local machine to port 28080 in the container.-p 25432:25432
: Maps port 25432 on your local machine to port 25432 in the container.optimibi/bi-server
: Specifies the Docker image to use.
Verify the Deployment:
Once the container is running, you can check the container status with the following command to verify that Optimibi is deployed correctly:
docker ps
This command lists all running containers. You should see
optimibi
in the list and its status.
Access Optimibi:
- Open your web browser and navigate to
http://localhost:28080
. - You should see the Optimibi interface. If you need to connect to the database, you can use port
25432
.
- Open your web browser and navigate to
Stopping and Removing the Container
To stop the optimibi container, use:
docker stop optimibi
To remove the optimibi container, use:
docker rm optimibi
By following these steps, you should be able to deploy and run optimibi on your local machine using Docker.