Skip to content

How to change database URL via an environment variable? #1805

Answered by jebrosen
bubelov asked this question in Questions
Discussion options

You must be logged in to vote

There are a few examples of configuration via environment variables in the crate-level documentation for rocket_sync_db_pools and rocket_db_pools, both of which will be in the 0.5 release.

(It happens to be identical for 0.4: rocket_contrib::databases).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@bubelov
Comment options

@jebrosen
Comment options

Answer selected by bubelov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants