Single docker image deployment with SQLite3 and Memory Queue
Set up Activepieces using Docker Compose for easy deployment - Ideal for personal and testing with SQLite3 and in-memory queue.
For production (companies), use PostgreSQL and Redis, Refer to docker compose setup.
To get up and running quickly with Activepieces, we will use the Activepieces Docker image. Follow these steps:
Configure Webhook URL (Important for Triggers, Optional If you have public IP)
Note: By default, Activepieces will try to use your public IP for webhooks. If you are self-hosting on a personal machine, you must configure the frontend URL so that the webhook is accessible from the internet.Optional: The easiest way to expose your webhook URL on localhost is by using a service like ngrok. However, it is not suitable for production use.
Install ngrok
Run the following command:
ngrok http 8080
Replace AP_FRONTEND_URL environment variable in the command line above.
Before proceeding with the upgrade, it is always a good practice to back up your Activepieces data to avoid any potential data loss during the update process.
Stop the Current Activepieces Container: If your Activepieces container is running, stop it using the following command:
docker stop activepieces_container_name
Backup Activepieces Data Directory: By default, Activepieces data is stored in the ~/.activepieces directory on your host machine. Create a backup of this directory to a safe location using the following command:
Now, run the updated Activepieces container with the latest image using the same command you used during the initial setup. Be sure to replace activepieces_container_name with the desired name for your new container.