Activepieces is an open-source workflow automation platform.
This setup runs Activepieces with Redis and PostgreSQL dependencies.
flowchart LR
User([User]) -->|:8080| AP[Activepieces]
AP --> Redis[(Redis)]
AP --> PG[(PostgreSQL)]
- Redis provides cache/queue support.
- PostgreSQL stores application/workflow data.
- Activepieces starts after both dependencies are healthy.
- The web app/API is exposed on port
8080.
- Redis image:
redis:7 - PostgreSQL image:
postgres:16 - Activepieces image:
activepieces/activepieces:latest - Web UI:
http://<host-ip>:8080 - Persistent data:
redis_data:/datapostgres_data:/var/lib/postgresql/dataactivepieces_data:/root/.activepieces
Copy .env.example to .env and update values:
- Redis:
AP_REDIS_HOST,AP_REDIS_PORT - Postgres:
AP_DATABASE_TYPE,AP_POSTGRES_* - App:
AP_FRONTEND_URL,AP_ENCRYPTION_KEY,AP_JWT_SECRET - Optional behavior:
AP_TELEMETRY_ENABLED,AP_SYNC_PIECES_ON_STARTUP
Generate a secure encryption key if needed:
openssl rand -hex 16From the repository root:
cd activepieces
cp .env.example .env
docker compose up -dOpen:
http://localhost:8080
Useful commands:
docker compose ps
docker compose logs -f
docker compose restart
docker compose down
docker compose down -v- Keep
AP_ENCRYPTION_KEYandAP_JWT_SECRETprivate. - If startup takes longer, check health of
redisanddbfirst.