CI Pipeline with Test Management / 🧪 Run Tests & Generate Reports (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 🧪 Run Tests & Generate Reports (push) Canceled after 0s
CI Pipeline with Test Management / 🐳 Docker Integration Tests (push) Canceled after 0s
CI Pipeline with Test Management / 🏗️ Build Docker Image (push) Canceled after 0s
CI Pipeline with Test Management / 📊 Generate Test Summary (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 📊 Analyze Test Coverage (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 🔄 Sync with Linear (push) Canceled after 0s
Test Reporting & Gherkin Analysis / ⚡ Performance Monitoring (push) Canceled after 0s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
125 lines
3.2 KiB
YAML
125 lines
3.2 KiB
YAML
# Throwaway Activepieces Community Edition pilot (PLATFM-18, D-E). Not a project stack:
|
|
# no host ports (reached through an SSH tunnel to the container IP), memory-capped,
|
|
# removed after the pilot. Names: mozdit-appilot-*.
|
|
x-common: &common
|
|
restart: unless-stopped
|
|
logging:
|
|
driver: json-file
|
|
options: { max-size: "20m", max-file: "2" }
|
|
networks: [mozdit-appilot-network]
|
|
|
|
services:
|
|
app:
|
|
<<: *common
|
|
image: ghcr.io/activepieces/activepieces:0.91.0
|
|
container_name: mozdit-appilot-app
|
|
env_file: .env
|
|
environment:
|
|
- AP_CONTAINER_TYPE=WORKER_AND_APP
|
|
depends_on:
|
|
postgres: { condition: service_healthy }
|
|
redis: { condition: service_healthy }
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "curl -fsS http://localhost:80/api/v1/flags >/dev/null || exit 1"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 5
|
|
start_period: 90s
|
|
deploy:
|
|
resources:
|
|
limits: { memory: 1200M }
|
|
|
|
postgres:
|
|
<<: *common
|
|
image: pgvector/pgvector:0.8.0-pg14
|
|
container_name: mozdit-appilot-postgres
|
|
environment:
|
|
- POSTGRES_DB=${AP_POSTGRES_DATABASE}
|
|
- POSTGRES_USER=${AP_POSTGRES_USERNAME}
|
|
- POSTGRES_PASSWORD=${AP_POSTGRES_PASSWORD}
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
- ./initdb:/docker-entrypoint-initdb.d:ro
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U ${AP_POSTGRES_USERNAME} -d ${AP_POSTGRES_DATABASE}"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 10
|
|
deploy:
|
|
resources:
|
|
limits: { memory: 300M }
|
|
|
|
redis:
|
|
<<: *common
|
|
image: redis:7-alpine
|
|
container_name: mozdit-appilot-redis
|
|
command: ["redis-server", "--maxmemory", "96mb", "--maxmemory-policy", "noeviction"]
|
|
healthcheck:
|
|
test: ["CMD", "redis-cli", "ping"]
|
|
interval: 10s
|
|
timeout: 3s
|
|
retries: 5
|
|
deploy:
|
|
resources:
|
|
limits: { memory: 128M }
|
|
|
|
checker:
|
|
<<: *common
|
|
image: python:3.12-alpine
|
|
container_name: mozdit-appilot-checker
|
|
command: ["python", "/app/checker.py"]
|
|
volumes:
|
|
- ./checker:/app:ro
|
|
- ./tls:/certs:ro
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:8000/health >/dev/null || exit 1"]
|
|
interval: 20s
|
|
timeout: 5s
|
|
retries: 3
|
|
deploy:
|
|
resources:
|
|
limits: { memory: 64M }
|
|
|
|
tls-target:
|
|
<<: *common
|
|
image: nginx:alpine
|
|
container_name: mozdit-appilot-tls
|
|
networks:
|
|
mozdit-appilot-network:
|
|
aliases: [tls.pilot]
|
|
volumes:
|
|
- ./tls:/etc/nginx/certs:ro
|
|
- ./tls/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "nc -z 127.0.0.1 8443 || exit 1"]
|
|
interval: 20s
|
|
timeout: 5s
|
|
retries: 3
|
|
deploy:
|
|
resources:
|
|
limits: { memory: 32M }
|
|
|
|
ntfy-sink:
|
|
<<: *common
|
|
image: python:3.12-alpine
|
|
container_name: mozdit-appilot-ntfy
|
|
command: ["python", "/app/sink.py"]
|
|
volumes:
|
|
- ./sink:/app:ro
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:8000/ >/dev/null || exit 1"]
|
|
interval: 20s
|
|
timeout: 5s
|
|
retries: 3
|
|
deploy:
|
|
resources:
|
|
limits: { memory: 64M }
|
|
|
|
volumes:
|
|
postgres_data:
|
|
|
|
networks:
|
|
mozdit-appilot-network:
|
|
driver: bridge
|
|
name: mozdit-appilot-network
|