mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-03 18:36:22 +00:00
- VOL_PATH always defaults to /data; vscode/opencode VOL_PROJECTS nests it - TZ defaults to America/Vancouver (was UTC in etherpad, ntfy, redis) - compose section order fixed (volumes before environment, command after networks) - all default secrets are the literal ChangeThisPassword (grep-friendly, users must change them); removed a real key from ollama sample.env - sample.env synced with compose: missing vars added with defaults, dead vars removed - invoiceninja_dev/openarchiver_dev: app services had no environment block, wired all sample.env vars through so the stacks actually work - opencode: sample.env OLLAMA_HOST renamed to OLLAMA_HOST_URL to match compose - TZ values unquoted consistently Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
70 lines
1.8 KiB
YAML
70 lines
1.8 KiB
YAML
# Activepieces
|
|
|
|
services:
|
|
activepieces:
|
|
image: ${ACTIVEPIECES_IMAGE:-ghcr.io/activepieces/activepieces:0.44.0}
|
|
restart: ${ACTIVEPIECES_RESTART:-unless-stopped}
|
|
|
|
volumes:
|
|
- ${VOL_PATH:-/data}/activepieces_dev/cache:/usr/src/app/cache
|
|
|
|
environment:
|
|
- AP_ENGINE_EXECUTABLE_PATH=dist/packages/engine/main.js
|
|
- AP_ENCRYPTION_KEY=${AP_ENCRYPTION_KEY:-ChangeThisPassword}
|
|
- AP_JWT_SECRET=${AP_JWT_SECRET:-ChangeThisPassword}
|
|
- AP_ENVIRONMENT=prod
|
|
- AP_FRONTEND_URL=http://${ACTIVEPIECES_DOMAIN:-localhost}:${ACTIVEPIECES_PORT:-8080}
|
|
- AP_POSTGRES_DATABASE=activepieces
|
|
- AP_POSTGRES_HOST=postgres
|
|
- AP_POSTGRES_PORT=5432
|
|
- AP_POSTGRES_USERNAME=postgres
|
|
- AP_POSTGRES_PASSWORD=${AP_POSTGRES_PASSWORD:-ChangeThisPassword}
|
|
- 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
|
|
|
|
ports:
|
|
- "${ACTIVEPIECES_PORT:-8080}:80"
|
|
|
|
networks:
|
|
- proxy
|
|
- internal
|
|
|
|
depends_on:
|
|
- postgres
|
|
- redis
|
|
|
|
postgres:
|
|
image: ${ACTIVEPIECES_POSTGRES_IMAGE:-postgres:14.4}
|
|
restart: ${ACTIVEPIECES_RESTART:-unless-stopped}
|
|
|
|
volumes:
|
|
- ${VOL_PATH:-/data}/activepieces_dev/postgres:/var/lib/postgresql/data
|
|
|
|
environment:
|
|
- POSTGRES_DB=activepieces
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_PASSWORD=${AP_POSTGRES_PASSWORD:-ChangeThisPassword}
|
|
|
|
networks:
|
|
- internal
|
|
|
|
redis:
|
|
image: ${ACTIVEPIECES_REDIS_IMAGE:-redis:7.0.7}
|
|
restart: ${ACTIVEPIECES_RESTART:-unless-stopped}
|
|
|
|
volumes:
|
|
- ${VOL_PATH:-/data}/activepieces_dev/redis:/data
|
|
|
|
networks:
|
|
- internal
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|
|
internal:
|
|
driver: bridge
|