From dbec39fafdf057b72582d7ed84091a5eadfcdae6 Mon Sep 17 00:00:00 2001 From: Nick Yeoman Date: Tue, 18 Feb 2025 21:58:51 -0800 Subject: [PATCH] Added Activepieces --- activepieces/.env | 29 ++++++++++++++++++++++ activepieces/README.md | 9 +++++++ activepieces/docker-compose.yml | 44 +++++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+) create mode 100644 activepieces/.env create mode 100644 activepieces/README.md create mode 100644 activepieces/docker-compose.yml diff --git a/activepieces/.env b/activepieces/.env new file mode 100644 index 0000000..5fc6420 --- /dev/null +++ b/activepieces/.env @@ -0,0 +1,29 @@ +# It's advisable to consult the documentation and use the tools/deploy.sh to generate the passwords, keys, instead of manually filling them. +# https://github.com/activepieces/activepieces/blob/main/.env.example + +AP_ENGINE_EXECUTABLE_PATH=dist/packages/engine/main.js + +## Random Long Password (Optional for community edition) +AP_API_KEY= + +## 256 bit encryption key, 32 hex character +AP_ENCRYPTION_KEY= + +## JWT Secret +AP_JWT_SECRET= + +AP_ENVIRONMENT=prod +AP_FRONTEND_URL=http://localhost:8080 +AP_WEBHOOK_TIMEOUT_SECONDS=30 +AP_TRIGGER_DEFAULT_POLL_INTERVAL=5 +AP_POSTGRES_DATABASE=activepieces +AP_POSTGRES_HOST=postgres +AP_POSTGRES_PORT=5432 +AP_POSTGRES_USERNAME=postgres +AP_POSTGRES_PASSWORD= +AP_EXECUTION_MODE=UNSANDBOXED +AP_REDIS_HOST=redis +AP_REDIS_PORT=6379 +AP_FLOW_TIMEOUT_SECONDS=600 +AP_TELEMETRY_ENABLED=true +AP_TEMPLATES_SOURCE_URL="https://cloud.activepieces.com/api/v1/flow-templates" \ No newline at end of file diff --git a/activepieces/README.md b/activepieces/README.md new file mode 100644 index 0000000..b73785b --- /dev/null +++ b/activepieces/README.md @@ -0,0 +1,9 @@ +# Active Pieces + +* [Dockerhub Tags](https://hub.docker.com/r/activepieces/activepieces/tags) +* [Docker Compose File](https://github.com/activepieces/activepieces/blob/main/docker-compose.yml) +* [ENV file](https://github.com/activepieces/activepieces/blob/main/.env.example) +* [Homepage](https://www.activepieces.com/) +* [Docs](https://www.activepieces.com/docs/getting-started/introduction) +* Proxy port: 80 + diff --git a/activepieces/docker-compose.yml b/activepieces/docker-compose.yml new file mode 100644 index 0000000..c0c5fcc --- /dev/null +++ b/activepieces/docker-compose.yml @@ -0,0 +1,44 @@ +# https://github.com/activepieces/activepieces/blob/main/docker-compose.yml + +services: + activepieces: + image: ghcr.io/activepieces/activepieces:0.44.0 + container_name: activepieces + restart: unless-stopped + ## Enable the following line if you already use AP_EXECUTION_MODE with SANDBOXED or old activepieces, checking the breaking change documentation for more info. + ## privileged: true + ports: + - '8080:80' + depends_on: + - postgres + - redis + env_file: .env + volumes: + - ./cache:/usr/src/app/cache + networks: + - activepieces + postgres: + image: 'postgres:14.4' + container_name: postgres + restart: unless-stopped + environment: + - 'POSTGRES_DB=${AP_POSTGRES_DATABASE}' + - 'POSTGRES_PASSWORD=${AP_POSTGRES_PASSWORD}' + - 'POSTGRES_USER=${AP_POSTGRES_USERNAME}' + volumes: + - postgres_data:/var/lib/postgresql/data + networks: + - activepieces + redis: + image: 'redis:7.0.7' + container_name: redis + restart: unless-stopped + volumes: + - 'redis_data:/data' + networks: + - activepieces +volumes: + postgres_data: + redis_data: +networks: + activepieces: \ No newline at end of file