fix missing export port and env.exmaple for apiservice

This commit is contained in:
jigoong
2026-02-24 22:54:50 +07:00
parent 16efd77dfe
commit 38bb9bd1d9
2 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
# Application
APP_NAME=APIsService
ROOT_PATH=/apiservice
# Timezone
TIMEZONE=Asia/Bangkok
# PostgreSQL Database (for ApiClient, ApiKey, RawWaitingTime tables)
DB_HOST=postgres
DB_PORT=5432
DB_USER=postgres
DB_PASSWORD=your-postgres-password
DB_NAME=postgres
DB_SSLMODE=prefer
# Supabase Database (for RawOpdCheckpoint table)
SUPABASE_DB_HOST=sdp-db
SUPABASE_DB_PORT=5432
SUPABASE_DB_USER=postgres.1
SUPABASE_DB_PASSWORD=your-supabase-password
SUPABASE_DB_NAME=postgres
SUPABASE_DB_SSLMODE=disable
# Supabase API (for REST API calls)
SUPABASE_API_URL=http://sdp-kong:8000
SUPABASE_API_KEY=your-supabase-anon-or-service-role-key
# Admin Authentication
ADMIN_SECRET_KEY=your-secret-key-here
ADMIN_USERNAME=admin
ADMIN_PASSWORD=your-admin-password