From b2c6979338a57bd17ed1518fe81354e29c56a64e Mon Sep 17 00:00:00 2001 From: poduck Date: Sat, 20 Dec 2025 00:35:30 -0500 Subject: [PATCH] Add Activepieces to production deployment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add Activepieces service to docker-compose.production.yml - Add traefik route for automations.smoothschedule.com - Configure activepieces service with custom fork build 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .../compose/production/traefik/traefik.yml | 14 ++++++++++++++ smoothschedule/docker-compose.production.yml | 16 +++++++++++++++- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/smoothschedule/compose/production/traefik/traefik.yml b/smoothschedule/compose/production/traefik/traefik.yml index 41dcfa97..c0948944 100644 --- a/smoothschedule/compose/production/traefik/traefik.yml +++ b/smoothschedule/compose/production/traefik/traefik.yml @@ -110,6 +110,15 @@ http: tls: certResolver: letsencrypt + # Automations subdomain (Activepieces) + automations-router: + rule: 'Host(`automations.smoothschedule.com`)' + entryPoints: + - web-secure + service: activepieces + tls: + certResolver: letsencrypt + # Wildcard subdomain router for tenant subdomains # Uses DNS challenge for wildcard certificate (*.smoothschedule.com) # Routes to nginx which serves the frontend SPA and proxies /api/ to Django @@ -166,6 +175,11 @@ http: servers: - url: http://nginx:80 + activepieces: + loadBalancer: + servers: + - url: http://activepieces:80 + providers: # https://doc.traefik.io/traefik/master/providers/file/ file: diff --git a/smoothschedule/docker-compose.production.yml b/smoothschedule/docker-compose.production.yml index 8cdb44e1..00a7d450 100644 --- a/smoothschedule/docker-compose.production.yml +++ b/smoothschedule/docker-compose.production.yml @@ -2,8 +2,8 @@ volumes: production_postgres_data: {} production_postgres_data_backups: {} production_traefik: {} - production_redis_data: {} + production_activepieces_cache: {} services: django: &django @@ -86,3 +86,17 @@ services: - ./.envs/.production/.django volumes: - production_postgres_data_backups:/backups:z + + activepieces: + build: + context: ../activepieces-fork + dockerfile: Dockerfile + image: smoothschedule_production_activepieces + restart: unless-stopped + depends_on: + - postgres + - redis + env_file: + - ./.envs/.production/.activepieces + volumes: + - production_activepieces_cache:/root/.activepieces