Erudika / para

Multitenant backend server for building web and mobile apps rapidly. The backend for busy developers. (self-hosted or hosted)

Home Page:https://paraio.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pass Environment Variables in application conf

utkarshsystem opened this issue · comments

How do we pass env variables in the application? conf property file. Please provide one example

You can start the application with java -jar -Dpara.env=production para.jar for system properties or para_env=production java -jar para.jar for ENV variables. Replace all dots in the property key with underscores - "para.env" becomes "para_env".