Add Activepieces to production deployment
- 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 <noreply@anthropic.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user