Activepieces mit einem Klick auf Pethost deployen
Automatisierungen und KI-Agenten aus Hunderten Bausteinen, ohne Code
Was passiert
- Du meldest dich bei Pethost an oder legst ein Konto an, mit Passkey, GitHub oder Google.
- Noch keine Maschine? Du wählst einen Tarif, und wir bereiten eine für dich vor. Der Link wartet in deinem Browser, bis sie bereit ist.
- „Neues Projekt“ öffnet sich bei der App. Du füllst aus, was sie braucht, und klickst auf „Projekt erstellen“: E-Mail, Admin-Passwort.
- In ein, zwei Minuten läuft die App unter eigener Adresse mit HTTPS. Ihre Secrets werden zufällig für sie erzeugt, und ihre Daten sind im nächtlichen Backup.
- Sie ist ein Projekt wie jedes andere: compose.yaml, .env, Logs und ein Terminal findest du im Panel, und dein Agent kann sie ändern, zurückrollen oder wiederherstellen.
Erste Schritte
Melde dich mit der angegebenen E-Mail und dem Admin-Passwort an, mindestens 8 Zeichen: Die Vorlage registriert diesen Admin beim ersten Start. Verbinde dann deine Apps und bau einen Flow; Webhooks erreichen ihn unter https://activepieces.sam.pethost.app.
Was läuft
Die Vorlage ist diese compose.yaml und die Variablen, die sie in die .env des Projekts schreibt. Pethost führt die Datei so aus, wie sie geschrieben ist.
services:
activepieces:
image: ghcr.io/activepieces/activepieces:0.92.3
restart: unless-stopped
environment:
AP_FRONTEND_URL: ${URL}
AP_ENVIRONMENT: prod
AP_ENCRYPTION_KEY: ${ENCRYPTION_KEY}
AP_JWT_SECRET: ${JWT_SECRET}
AP_EXECUTION_MODE: UNSANDBOXED
AP_POSTGRES_HOST: postgres
AP_POSTGRES_PORT: "5432"
AP_POSTGRES_DATABASE: activepieces
AP_POSTGRES_USERNAME: activepieces
AP_POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
AP_REDIS_HOST: redis
AP_REDIS_PORT: "6379"
ADMIN_EMAIL: ${ADMIN_EMAIL}
ADMIN_PASSWORD: ${ADMIN_PASSWORD}
# The first account signed up becomes the platform's admin. At the first start the server runs
# alone on port 3001, which no route reaches, the email and password given are signed up there,
# and only then does it start on 80 with its worker.
entrypoint:
- sh
- -c
- |
AP_CONTAINER_TYPE=APP AP_PORT=3001 node packages/server/api/dist/src/bootstrap.js &
node -e '
const url = "http://127.0.0.1:3001/api/v1";
const wait = (ms) => new Promise((r) => setTimeout(r, ms));
(async () => {
for (;;) {
try { if ((await fetch(url + "/health")).ok) break; } catch {}
await wait(1000);
}
const flags = await (await fetch(url + "/flags")).json();
if (flags.USER_CREATED) return;
const answer = await fetch(url + "/authentication/sign-up", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ email: process.env.ADMIN_EMAIL, password: process.env.ADMIN_PASSWORD, firstName: "Admin", lastName: "Admin", trackEvents: false, newsLetter: false }),
});
if (!answer.ok) { console.error("sign-up:", answer.status, await answer.text()); process.exit(1); }
})();
' || exit 1
kill $$!
wait $$!
exec ./docker-entrypoint.sh
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_started
volumes:
- cache:/usr/src/app/cache
postgres:
image: postgres:17-alpine
restart: unless-stopped
environment:
POSTGRES_DB: activepieces
POSTGRES_USER: activepieces
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U activepieces -d activepieces"]
interval: 5s
retries: 20
volumes:
- db:/var/lib/postgresql/data
redis:
image: redis:7-alpine
restart: unless-stopped
volumes:
- redis:/data
volumes:
cache:
db:
redis: