# Copy to .env and fill in real values. .env is git-ignored. # --- Application --- APP_NAME=paper-doc API DEBUG=true # --- Database (TiDB) --- # Local development reaches TiDB through its k3s NodePort. # Inside the cluster, use the Service instead: DB_HOST=tidb-tidb.tidb, DB_PORT=4000 DB_HOST=192.168.1.88 DB_PORT=32738 DB_USER=Govin DB_PASSWORD=change-me DB_NAME=paper_doc # Optional: bypass the DB_* parts above with a full SQLAlchemy URL. # The password must be percent-encoded (a raw '@' would be parsed as the # user/host separator). Prefer the DB_* parts above and let the app encode it. # DATABASE_URL=mysql+pymysql://Govin:change-me%40123@192.168.1.88:32738/paper_doc