Replies: 2 comments
|
Hi @tarilen! I'm Dosu and I’m helping the Stirling-PDF team. The likely issue is that you have To use an external PostgreSQL database, you need:
Note that external database support is an enterprise feature and requires a valid license [1]. As an alternative to the full JDBC URL, you can also configure the connection with individual variables [1]:
To reply, just mention @dosu. Docs are dead. Just use Dosu. |
|
Thanks for the answer. I resolved the issue. I believe where documentation led me wrong was the var SYSTEM_DATASOURCE_CUSTOMDATABACKENDURL Instead I used the yaml file to guide me SYSTEM_DATASOURCE_CUSTOMDATABASEURL Small change, big impact. After that I was able to launch my container and it was able to connect to the database. |
Uh oh!
There was an error while loading. Please reload this page.
Hey all.
I'm currently setting up a paid version of Stirling in Azure Container Apps. I was initially setting up all my env vars in the container. I didn't want to mess with a volume for configs, but now that I'm trying to set the database I'm having trouble. The combinations that I've tried haven't worked and Stirling tries to use localhost:5432.
I'm running Stirling v2.9.2. The env vars I've added to try to get it to work
DISABLE_ADDITIONAL_FEATURES=true
SYSTEM_DATASOURCE_ENABLECUSTOMDATABASE=true
SYSTEM_DATASOURCE_USERNAME
SYSTEM_DATASOURCE_PASSWORD
SYSTEM_DATASOURCE_CUSTOMDATABACKENDURL
I couldn't find concise documentation other than these settings, and they don't work for me.
Log output
All reactions