mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
Add: Activepieces
This commit is contained in:
4
apps/dokploy/public/templates/activepieces.svg
Normal file
4
apps/dokploy/public/templates/activepieces.svg
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500">
|
||||
<path d="M 175.034 156.727 C 154.522 121.333 162.546 73.285 192.958 49.41 C 223.367 25.535 264.651 34.874 285.163 70.271 L 423.708 309.332 C 444.22 344.732 436.198 392.78 405.783 416.655 C 375.371 440.532 334.094 431.191 313.579 395.794 L 253.513 292.145 C 245.791 280.823 230.072 282.584 220.633 293.569 C 212.808 302.678 210.245 325.982 208.027 346.159 C 207.703 349.123 207.386 352.011 207.057 354.782 C 205.853 367.988 201.934 381.052 195.111 392.832 C 172.809 431.313 127.916 441.458 94.849 415.502 C 61.788 389.543 53.051 337.299 75.353 298.811 C 86.917 278.851 104.563 266.513 123.48 262.884 L 123.455 262.852 C 178.116 253.627 188.248 181.826 178.247 162.266 L 175.034 156.727 Z" fill="#8142E3" style=""/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 824 B |
53
apps/dokploy/templates/activepieces/docker-compose.yml
Normal file
53
apps/dokploy/templates/activepieces/docker-compose.yml
Normal file
@@ -0,0 +1,53 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
activepieces:
|
||||
image: ghcr.io/activepieces/activepieces:0.35.0
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- dokploy-network
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
redis:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
- AP_POSTGRES_DATABASE=${AP_POSTGRES_DATABASE}
|
||||
- AP_POSTGRES_PASSWORD=${AP_POSTGRES_PASSWORD}
|
||||
- AP_POSTGRES_USERNAME=${AP_POSTGRES_USERNAME}
|
||||
- AP_POSTGRES_HOST=postgres
|
||||
- AP_REDIS_HOST=redis
|
||||
|
||||
postgres:
|
||||
image: postgres:14.4
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- dokploy-network
|
||||
environment:
|
||||
- POSTGRES_DB=${AP_POSTGRES_DATABASE}
|
||||
- POSTGRES_PASSWORD=${AP_POSTGRES_PASSWORD}
|
||||
- POSTGRES_USER=${AP_POSTGRES_USERNAME}
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U ${AP_POSTGRES_USERNAME}"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
redis:
|
||||
image: redis:7.0.7
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- dokploy-network
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
redis_data:
|
||||
33
apps/dokploy/templates/activepieces/index.ts
Normal file
33
apps/dokploy/templates/activepieces/index.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
import {
|
||||
type DomainSchema,
|
||||
type Schema,
|
||||
type Template,
|
||||
generatePassword,
|
||||
generateRandomDomain,
|
||||
} from "../utils";
|
||||
|
||||
export function generate(schema: Schema): Template {
|
||||
const mainDomain = generateRandomDomain(schema);
|
||||
const postgresPassword = generatePassword();
|
||||
const postgresUser = "activepieces";
|
||||
const postgresDb = "activepieces";
|
||||
|
||||
const domains: DomainSchema[] = [
|
||||
{
|
||||
host: mainDomain,
|
||||
port: 80,
|
||||
serviceName: "activepieces",
|
||||
},
|
||||
];
|
||||
|
||||
const envs = [
|
||||
`AP_POSTGRES_DATABASE=${postgresDb}`,
|
||||
`AP_POSTGRES_PASSWORD=${postgresPassword}`,
|
||||
`AP_POSTGRES_USERNAME=${postgresUser}`,
|
||||
];
|
||||
|
||||
return {
|
||||
domains,
|
||||
envs,
|
||||
};
|
||||
}
|
||||
@@ -730,4 +730,18 @@ export const templates: TemplateData[] = [
|
||||
tags: ["workflow", "automation", "development"],
|
||||
load: () => import("./windmill/index").then((m) => m.generate),
|
||||
},
|
||||
{
|
||||
id: "activepieces",
|
||||
name: "Activepieces",
|
||||
version: "0.35.0",
|
||||
description: "Open-source no-code business automation tool. An alternative to Zapier, Make.com, and Tray.",
|
||||
logo: "activepieces.svg",
|
||||
links: {
|
||||
github: "https://github.com/activepieces/activepieces",
|
||||
website: "https://www.activepieces.com/",
|
||||
docs: "https://www.activepieces.com/docs",
|
||||
},
|
||||
tags: ["automation", "workflow", "no-code"],
|
||||
load: () => import("./activepieces/index").then((m) => m.generate),
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user