Local Deployment
Deploy OpenOps on your local machine
This guide explains how to install the OpenOps docker-compose release on a local machine. Note that these settings are for testing purposes only and not for a production environment.
On macOS
Install Docker Desktop
Follow these instructions to install Docker Desktop.
Run docker compose
- Open a new Terminal window and run the following command to create a folder and download the OpenOps release files:
- Pull the images and run docker compose. If you face a rate limit while downloading, run the command again.
You can now access the application by navigating to http://localhost. The login credentials are configured in the .env
file, the default username is “admin@openops.com” and the default password is “please-change-this-password-1”.
On Ubuntu Server 24.04
Install docker
During the Ubuntu server installation, select docker to be added to the installation. Otherwise, follow the instructions here.
Run docker compose
-
Log in to your server and run the following commands to create a folder and download the OpenOps release files:
-
Identify your own IP address
Identify your IP address. The output should look something like this
In this case, the IP address is 192.168.1.50
-
Update the local OPS_PUBLIC_URL Important: change the .env before launching the application
Use Ctrl+W or the cursor buttons to navigate to the entry OPS_PUBLIC_URL Replace http://localhost with your domain or IP address, in this case http://192.168.1.50 Ctrl+x, Y, and Enter to save the modified file.
-
Pull the images and run docker compose. If you face a rate limit while downloading, run the command again.
Updating OpenOps to a newer version
See Updating OpenOps.
Cloud Templates
On localhost, cloud templates may not be able to load when using the Safari browser.
Configuring Slack Approvals
If you would like to run a workflow that uses Slack approvals, please follow the steps:
- Download and create a free account in ngrok
- Start ngrok
- Copy the Forwarding address
- Go to the OpenOps installation directory
- Inside the directory, make a copy of the
.env.defaults
file and save it as.env
- Open the file and set OPS_PUBLIC_URL to the Forwarding address you copied in step 3
- Restart the containers
Using Azure CLI in workflows: running with local credentials
It is possible to share your local session with the platform for local applications.
To do this, you need to set two environment variables in the .env
file under the installation folder:
OPS_ENABLE_HOST_SESSION=true
: enables sharing of the host session with the platform container.HOST_AZURE_CONFIG_DIR="~/.azure"
: defines the path to the host machine’s Azure configuration folder that will be shared with the platform container.
Support
Feel free to join our Slack community if you have any questions or need help with the installation.
Was this page helpful?