mirror of
https://github.com/ershisan99/coolify.git
synced 2026-01-31 12:34:39 +00:00
add and fix a lot of services
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
# documentation: https://www.activepieces.com/docs/getting-started/introduction
|
||||
# slogan: Open source no-code business automation
|
||||
# slogan: Open source no-code business automation.
|
||||
# tags: workflow, automation, no code, open source
|
||||
# logo: svgs/activepieces.png
|
||||
|
||||
services:
|
||||
activepieces:
|
||||
image: 'ghcr.io/activepieces/activepieces:latest'
|
||||
container_name: activepieces
|
||||
restart: unless-stopped
|
||||
image: "ghcr.io/activepieces/activepieces:latest"
|
||||
environment:
|
||||
- AP_API_KEY=$SERVICE_PASSWORD_64_APIKEY
|
||||
- AP_ENCRYPTION_KEY=$SERVICE_PASSWORD_ENCRYPTIONKEY
|
||||
@@ -18,14 +16,14 @@ services:
|
||||
- AP_JWT_SECRET=$SERVICE_PASSWORD_64_JWT
|
||||
- AP_POSTGRES_DATABASE=activepieces
|
||||
- AP_POSTGRES_HOST=postgres
|
||||
- AP_POSTGRES_PASSWORD=$SERVICE_PASSWORD_64_POSTGRES
|
||||
- AP_POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
|
||||
- AP_POSTGRES_PORT=5432
|
||||
- AP_POSTGRES_USERNAME=$SERVICE_USER_POSTGRES
|
||||
- AP_REDIS_HOST=redis
|
||||
- AP_REDIS_PORT=6379
|
||||
- AP_SANDBOX_RUN_TIME_SECONDS=600
|
||||
- AP_TELEMETRY_ENABLED=true
|
||||
- 'AP_TEMPLATES_SOURCE_URL=https://cloud.activepieces.com/api/v1/flow-templates'
|
||||
- "AP_TEMPLATES_SOURCE_URL=https://cloud.activepieces.com/api/v1/flow-templates"
|
||||
- AP_TRIGGER_DEFAULT_POLL_INTERVAL=5
|
||||
- AP_WEBHOOK_TIMEOUT_SECONDS=30
|
||||
depends_on:
|
||||
@@ -33,24 +31,30 @@ services:
|
||||
condition: service_healthy
|
||||
redis:
|
||||
condition: service_started
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:80"]
|
||||
interval: 5s
|
||||
timeout: 20s
|
||||
retries: 10
|
||||
postgres:
|
||||
image: 'postgres:latest'
|
||||
container_name: postgres
|
||||
restart: unless-stopped
|
||||
image: "postgres:latest"
|
||||
environment:
|
||||
- POSTGRES_DB=activepieces
|
||||
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_64_POSTGRES
|
||||
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
|
||||
- POSTGRES_USER=$SERVICE_USER_POSTGRES
|
||||
volumes:
|
||||
- 'postgres_data:/var/lib/postgresql/data'
|
||||
- "pg-data:/var/lib/postgresql/data"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
||||
interval: 5s
|
||||
timeout: 20s
|
||||
retries: 10
|
||||
redis:
|
||||
image: 'redis:latest'
|
||||
container_name: redis
|
||||
restart: unless-stopped
|
||||
image: "redis:latest"
|
||||
volumes:
|
||||
- 'redis_data:/data'
|
||||
- "redis_data:/data"
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 5s
|
||||
timeout: 20s
|
||||
retries: 10
|
||||
|
||||
Reference in New Issue
Block a user