APP_NAME=X-Financial
APP_ENV=local
APP_DEBUG=true
API_V1_PREFIX=/api/v1
SETUP_COMPLETED=false
VITE_SETUP_COMPLETED=false

COMPANY_NAME=
COMPANY_CODE=
ADMIN_EMAIL=
VITE_COMPANY_NAME=
VITE_COMPANY_CODE=
VITE_ADMIN_EMAIL=
# Admin login credentials are stored separately under server/.secrets/

WEB_HOST=0.0.0.0
WEB_PORT=5173
VITE_WEB_HOST=0.0.0.0
VITE_WEB_PORT=5173

SERVER_HOST=0.0.0.0
SERVER_PORT=8000
VITE_SERVER_HOST=0.0.0.0
VITE_SERVER_PORT=8000
SERVER_STARTUP_TIMEOUT=300
SERVER_BLOCKING_STARTUP_TIMEOUT=12
VITE_API_BASE_URL=/api/v1
VITE_AUTH_IDLE_TIMEOUT_MINUTES=30
ONLYOFFICE_ENABLED=false
ONLYOFFICE_PUBLIC_URL=http://127.0.0.1:8082
ONLYOFFICE_BACKEND_URL=http://127.0.0.1:8000
ONLYOFFICE_JWT_SECRET=change-me-onlyoffice

POSTGRES_HOST=127.0.0.1
POSTGRES_PORT=5432
POSTGRES_DB=x_financial
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
VITE_POSTGRES_HOST=127.0.0.1
VITE_POSTGRES_PORT=5432
VITE_POSTGRES_DB=x_financial
VITE_POSTGRES_USER=postgres

DATABASE_URL=postgresql+psycopg://postgres:postgres@127.0.0.1:5432/x_financial
SQLALCHEMY_ECHO=false

REDIS_URL=
VITE_REDIS_URL=

CORS_ORIGINS='["http://127.0.0.1:5173","http://localhost:5173","http://0.0.0.0:5173"]'
