Skip to content

Commit 67aeec4

Browse files
committed
feat: add activepieces
1 parent 79dd345 commit 67aeec4

File tree

2 files changed

+81
-0
lines changed

2 files changed

+81
-0
lines changed

stacks/activepieces.yml

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# DOMAIN=example.com docker stack deploy -c activepieces.yml activepieces
2+
3+
services:
4+
web:
5+
image: ghcr.io/activepieces/activepieces:${VERSION:-0.38.3}
6+
environment:
7+
- AP_POSTGRES_PORT=5432
8+
- AP_POSTGRES_HOST=postgres
9+
- AP_POSTGRES_DATABASE=activepieces
10+
- AP_POSTGRES_USERNAME=activepieces
11+
- AP_POSTGRES_PASSWORD=myp@ssw0rd
12+
- AP_REDIS_HOST=redis
13+
- AP_REDIS_PORT=6379
14+
- AP_FRONTEND_URL=${SCHEME:-https}://${DOMAIN:-activepieces.localhost}
15+
- AP_ENCRYPTION_KEY=${AP_ENCRYPTION_KEY:-81916d955d175163e784d68de04cd863} # penssl rand -hex 16
16+
- AP_JWT_SECRET=${AP_JWT_SECRET:-mys3cr3t}
17+
- AP_ENVIRONMENT=prod
18+
volumes:
19+
- ${VOLUME_PATH}cache:/usr/src/app/cache
20+
deploy:
21+
labels:
22+
- traefik.enable=true
23+
- traefik.http.routers.activepieces-${NUMBER:-1}.rule=Host(`${DOMAIN:-activepieces.localhost}`)
24+
- traefik.http.routers.activepieces-${NUMBER:-1}.entrypoints=${SCHEME:-https}
25+
- traefik.http.routers.activepieces-${NUMBER:-1}.service=activepieces-${NUMBER:-1}
26+
- traefik.http.routers.activepieces-${NUMBER:-1}.tls.certresolver=letsencrypt
27+
- traefik.http.services.activepieces-${NUMBER:-1}.loadbalancer.server.port=80
28+
networks:
29+
- internal
30+
- traefik
31+
32+
redis:
33+
image: redis:7-alpine
34+
healthcheck:
35+
test: ["CMD", "redis-cli", "ping"]
36+
volumes:
37+
- ${VOLUME_PATH}redis:/data
38+
networks:
39+
- internal
40+
41+
postgres:
42+
image: postgres:${POSTGRES_VERSION:-12-alpine}
43+
environment:
44+
- POSTGRES_DB=activepieces
45+
- POSTGRES_USER=activepieces
46+
- POSTGRES_PASSWORD=myp@ssw0rd
47+
healthcheck:
48+
test: ["CMD", "pg_isready", "-U", "activepieces"]
49+
volumes:
50+
- ${VOLUME_PATH}postgres:/var/lib/postgresql/data
51+
networks:
52+
- internal
53+
54+
volumes:
55+
cache:
56+
redis:
57+
postgres:
58+
59+
networks:
60+
internal:
61+
driver: overlay
62+
attachable: true
63+
traefik:
64+
external: true
65+
name: traefik-net

templates.json

+16
Original file line numberDiff line numberDiff line change
@@ -2466,6 +2466,22 @@
24662466
"type": "password"
24672467
}
24682468
]
2469+
},
2470+
{
2471+
"type": 2,
2472+
"title": "Activepieces",
2473+
"description": "Automatisez vos tâches quotidiennes",
2474+
"categories": ["Automatisation"],
2475+
"manual": true,
2476+
"enabled": true,
2477+
"trial": 7,
2478+
"price": 19,
2479+
"logo": "https://i.imgur.com/euWHFgq.png",
2480+
"website": "https://activepieces.com",
2481+
"repository": {
2482+
"url": "https://github.com/ethibox/awesome-stacks",
2483+
"stackfile": "stacks/activepieces.yml"
2484+
}
24692485
}
24702486
]
24712487
}

0 commit comments

Comments
 (0)