Introduces integration-based webhook registration, message parsing, dry-run monitoring, JSM ticket creation, and OAuth token refresh for DC Ops spaces. Co-authored-by: Cursor <cursoragent@cursor.com>
37 lines
1.2 KiB
YAML
37 lines
1.2 KiB
YAML
services:
|
|
aeo-approvals:
|
|
build: .
|
|
container_name: aeo-approvals
|
|
ports:
|
|
- "${PORT:-1345}:1345"
|
|
env_file:
|
|
- path: .env
|
|
required: false
|
|
environment:
|
|
PORT: ${PORT:-1345}
|
|
LOG_LEVEL: ${LOG_LEVEL:-info}
|
|
SERVER_NAME: ${SERVER_NAME:-aeoApprovals}
|
|
JIRA_CLOUD_ID: ${JIRA_CLOUD_ID:-}
|
|
JIRA_BASE_URL: ${JIRA_BASE_URL:-https://aeo.atlassian.net}
|
|
JIRA_AUTH_TYPE: ${JIRA_AUTH_TYPE:-basic}
|
|
JIRA_EMAIL: ${JIRA_EMAIL:-}
|
|
JIRA_API_TOKEN: ${JIRA_API_TOKEN:-}
|
|
volumes:
|
|
- ./logs:/usr/src/app/logs
|
|
- ./config/config.json:/usr/src/app/config/config.json:ro
|
|
- ./config/requests.json:/usr/src/app/config/requests.json:ro
|
|
- ./config/webexRooms.json:/usr/src/app/config/webexRooms.json:ro
|
|
- ./config/webex-oauth.json:/usr/src/app/config/webex-oauth.json
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test:
|
|
[
|
|
"CMD",
|
|
"node",
|
|
"-e",
|
|
"fetch('http://127.0.0.1:' + (process.env.PORT || 1345) + '/healthCheck').then(r => process.exit(r.ok ? 0 : 1)).catch(() => process.exit(1))",
|
|
]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 10s
|