- Airplanes.live / OpenSky @Scheduled 수집기 (60초 주기) - 인메모리 캐시 + PostGIS DB 적재 (향후 리플레이용) - GET /api/aircraft?region=iran|korea REST API - 프론트엔드 LIVE→백엔드 API, REPLAY→샘플 전용 - JDK 17→21 업그레이드 (pom, sdkmanrc, CI/CD, systemd)
27 lines
627 B
Desktop File
27 lines
627 B
Desktop File
[Unit]
|
|
Description=KCG Monitoring Backend
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
Group=root
|
|
WorkingDirectory=/devdata/services/kcg/backend
|
|
EnvironmentFile=-/devdata/services/kcg/backend/.env
|
|
ExecStart=/usr/lib/jvm/java-21-openjdk-21.0.10.0.7-1.el9.x86_64/bin/java \
|
|
-Xms2g -Xmx4g \
|
|
-Dspring.profiles.active=prod \
|
|
-Dspring.config.additional-location=file:/devdata/services/kcg/backend/ \
|
|
-jar /devdata/services/kcg/backend/kcg.jar
|
|
|
|
Restart=on-failure
|
|
RestartSec=10
|
|
TimeoutStopSec=30
|
|
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=kcg-backend
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|