Use your own postgreSQL database in prefect server #3700
Answered
by
zanieb
Sinha-Ujjawal
asked this question in
Q&A
-
Hi, |
Beta Was this translation helpful? Give feedback.
Answered by
zanieb
Nov 23, 2020
Replies: 1 comment 1 reply
-
Hi! You can change the config values to point to your own database. [server.database]
host = "localhost"
port = "5432"
host_port = "5432"
name = "prefect_server"
username = "prefect"
# set to "" to generate a random password each time the database starts
password = "test-password"
connection_url = "postgresql://${server.database.username}:${server.database.password}@${server.database.host}:${server.database.port}/${server.database.name}"
volume_path = "${home_dir}/pg_data" All the available options can be seen at https://github.com/PrefectHQ/prefect/blob/master/src/prefect/config.toml Config precedence docs at https://docs.prefect.io/core/concepts/configuration.html#configuration-precedence |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Sinha-Ujjawal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! You can change the config values to point to your own database.
All the available options can be seen at https://github.com/PrefectHQ/prefect/blob/master/src/prefect/config.toml
Config precedence docs at https://docs.prefect.io/core/concepts/c…