🤖
Automate with Activepieces – Self-Hosted Workflows Made Easy
This is a shorter version of the article I published on my website with only the condensed most important information. This is one of the article on my website so far so I want to share it with everyone. I’ve been testing Activepieces, an open-source, self-hostable automation tool, and it’s fantastic for creating workflows across apps without coding. Here’s how to set it up with Docker and Traefik:
Requirements
- Docker & Docker Compose
- Traefik (guide here)
Installation
Use this docker-compose.yml
(replace pieces.example.com
with your domain):
version: '3.0'
services:
activepieces:
image: activepieces/activepieces:0.17.0
container_name: activepieces
restart: unless-stopped
depends_on:
- postgres
- redis
env_file: .env
networks:
- activepieces
- traefik
labels:
- traefik.enable=true
- traefik.http.routers.activepieces-${NUMBER:-1}.rule=Host(`pieces.example.com`)
- traefik.http.routers.activepieces-${NUMBER:-1}.entrypoints=websecure
- traefik.http.routers.activepieces-${NUMBER:-1}.tls.certresolver=cloudflare
- traefik.http.services.activepieces-${NUMBER:-1}.loadbalancer.server.port=80
volumes:
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
postgres:
image: 'postgres:14.10'
# ... (see full config in original post)
redis:
image: 'redis:7.0.7'
# ... (see full config in original post)
volumes:
postgres_data:
redis_data:
networks:
activepieces:
traefik:
external: true
Once running, configure Activepieces via its web UI. Don’t expose ports directly—Traefik handles proxying.
Need help? Let me know in the comments! 🚀
(Full guide & backup tips: here)
Discussion