Files
proxy-kp-api/docker-compose.yml
Power BI Dev 3ae282607f first commit
2026-04-28 23:22:31 +07:00

22 lines
740 B
YAML

services:
spota-proxy:
build:
context: .
dockerfile: Dockerfile
container_name: spota-proxy
restart: unless-stopped
ports:
- "${APP_PORT:-8099}:80"
environment:
SPOTA_BASE_URL: "${SPOTA_BASE_URL:-https://spota.untan.ac.id/steven/API}"
SPOTA_ALLOWED_ENDPOINTS: "${SPOTA_ALLOWED_ENDPOINTS:-login.php,getListTugasAkhir.php,getListMahasiswa.php,getListDosen.php,sendMail.php}"
PROXY_TOKEN: "${PROXY_TOKEN:-}"
CONNECT_TIMEOUT: "${CONNECT_TIMEOUT:-10}"
REQUEST_TIMEOUT: "${REQUEST_TIMEOUT:-30}"
healthcheck:
test: ["CMD-SHELL", "curl -fsS http://localhost/healthz >/dev/null || exit 1"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s