dolthub / dolt

Dolt – Git for Data
Apache License 2.0
17.58k stars 498 forks source link

Create a config.yaml file when database server is first run #7980

Open zachmu opened 2 months ago

zachmu commented 2 months ago

This is standard practice in the database world: you get a config file with the defaults when you install the server.

https://www.postgresql.org/docs/current/config-setting.html#CONFIG-SETTING-CONFIGURATION-FILE

Dolt makes you write your own.

Instead, Dolt should drop a config.yaml file with the default values (modified as necessary for the current execution) in the same location as the database directories when sql-server is run.

farhanhubble commented 2 months ago

Same goes for config.json. It is mentioned in the docker instructions mapping host directories to docker directories but no standard template is provided anywhere.

zachmu commented 1 month ago

Thanks for the feedback, agree we could do better here.