docs/install/options/docker.mdx
Unless you're happy with that, use Self hosting instead. </Note>
Run this anywhere:
docker run -d --name activepieces -p 8080:80 \
-v ~/.activepieces:/root/.activepieces \
-e AP_DB_TYPE=PGLITE \
-e AP_REDIS_TYPE=MEMORY \
-e AP_FRONTEND_URL="http://localhost:8080" \
activepieces/activepieces:latest
Or hand it to your AI assistant:
<Prompt description="Install Activepieces with an AI assistant" icon="sparkles" actions={["copy", "cursor"]}>
Install Activepieces on this machine for personal use with a single Docker container. Run docker run -d --name activepieces -p 8080:80 -v ~/.activepieces:/root/.activepieces -e AP_DB_TYPE=PGLITE -e AP_REDIS_TYPE=MEMORY -e AP_FRONTEND_URL="http://localhost:8080" activepieces/activepieces:latest. If port 8080 is already in use, pick a free port and change both the -p mapping and AP_FRONTEND_URL to match. When it finishes, wait until curl http://localhost:8080/api/v1/health responds, then tell me the URL to open.
</Prompt>
Everything runs in one container with the database embedded, so there is no PostgreSQL or Redis to set up. Your data lives in ~/.activepieces on your machine.
Go to http://localhost:8080, or http://<your-server-ip>:<your-port> if you installed on a remote server or changed the port.
The first account you create becomes the administrator. There is no default username or password.
Skip this if your machine already has a public URL.
Webhooks and app triggers need an address that third parties can reach. On a personal machine, expose it with a tunnel such as ngrok:
ngrok http 8080
Then set AP_FRONTEND_URL to the ngrok URL and run the container again.
Back up first, since the container is replaced:
docker stop activepieces
cp -r ~/.activepieces ~/.activepieces-backup
Then pull the new image and start a fresh container with the same command you used to install:
docker rm activepieces
docker pull activepieces/activepieces:latest
Your data survives because it lives in ~/.activepieces, not in the container.
Remove the container and keep your data:
docker rm -f activepieces
Delete your data too:
rm -rf ~/.activepieces