By jjfantini
I don’t see anywhere in the settings for my database set up in app platform to manage the users, or access the password for doadmin to access superuser features like enabling Telemetry in the timescaledb extension. How would I run this ALTER DATABASE "database" SET timescaledb.telemetry_level = 'basic'
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
Hello,
Database values are not available during build time but are available at runtime. The default environment variables are as follows:
${HOSTNAME}
: Fully qualified hostname to the database.${PORT}
: Port to the database.${USERNAME}
: Username for the database.${PASSWORD}
: Password for the database user.Alternatively, if you are using an existing cluster, you can also pass your details as different environment variables as described here:
https://docs.digitalocean.com/products/app-platform/how-to/use-environment-variables/
Let me know how it goes.
Best,
Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.