feat: add Java call-center-platform service
This commit is contained in:
@@ -60,3 +60,25 @@ services:
|
|||||||
profiles: ["archived"]
|
profiles: ["archived"]
|
||||||
webchat-adapter-service:
|
webchat-adapter-service:
|
||||||
profiles: ["archived"]
|
profiles: ["archived"]
|
||||||
|
call-center-platform:
|
||||||
|
image: ${CALL_CENTER_PLATFORM_IMAGE:-call-center-platform:latest}
|
||||||
|
restart: unless-stopped
|
||||||
|
env_file:
|
||||||
|
- ./.env.production
|
||||||
|
environment:
|
||||||
|
DATABASE_URL: jdbc:postgresql://postgres:5432/${POSTGRES_DB}
|
||||||
|
DATABASE_USER: ${POSTGRES_USER}
|
||||||
|
DATABASE_PASSWORD: ${POSTGRES_PASSWORD}
|
||||||
|
DATABASE_POOL_SIZE: "8"
|
||||||
|
KEYCLOAK_ISSUER_URI: https://aimaq.konturai.kz/auth/realms/callcenter
|
||||||
|
JAVA_TOOL_OPTIONS: "-XX:MaxRAMPercentage=70 -XX:+ExitOnOutOfMemoryError -XX:+UseSerialGC -Xss512k"
|
||||||
|
mem_limit: 512m
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "bash -c 'exec 3<>/dev/tcp/127.0.0.1/8090' || exit 1"]
|
||||||
|
interval: 15s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 10
|
||||||
|
start_period: 40s
|
||||||
|
depends_on:
|
||||||
|
postgres:
|
||||||
|
condition: service_healthy
|
||||||
|
|||||||
Reference in New Issue
Block a user