Michal Siedlaczek
06/26/2024, 1:16 PMMichal Siedlaczek
06/26/2024, 1:47 PMhamilton ui
command, and it seems like there's no way to configure custom db beyond port, is there? I thought that maybe the same variables as with docker deployment would work, but I don't think they do...Elijah Ben Izzy
06/26/2024, 2:21 PM~/.hamilton/db
), or postgres/s3?Michal Siedlaczek
06/26/2024, 2:21 PMElijah Ben Izzy
06/26/2024, 2:22 PMhamilton ui
is in mini-mode, running on a local sqlite db (generally meant for dev work)Michal Siedlaczek
06/26/2024, 2:22 PMElijah Ben Izzy
06/26/2024, 2:28 PMdocker-compose
— you should be able to set the correct variables with backend
and comment out the db here: https://github.com/DAGWorks-Inc/hamilton/blob/5585c24c7b3813fcfadf180c8c24771e43781e15/ui/deployment/docker-compose.yml#L4. Happy to add more instructions on that!
The hamilton ui
command is (currently) meant for local dev. That said, it simplifies things quite a bit, so might be worth adding the ability to connect to postgres?Michal Siedlaczek
06/26/2024, 2:29 PMMichal Siedlaczek
06/26/2024, 2:29 PMElijah Ben Izzy
06/26/2024, 2:30 PMMichal Siedlaczek
06/26/2024, 2:30 PMMichal Siedlaczek
06/26/2024, 2:31 PMMichal Siedlaczek
06/26/2024, 2:32 PMMichal Siedlaczek
06/26/2024, 2:32 PMMichal Siedlaczek
06/26/2024, 2:33 PMMichal Siedlaczek
06/26/2024, 2:34 PMElijah Ben Izzy
06/26/2024, 2:36 PMhamilton ui
attached to a running one. It should be doable to run in prod. Should be simple its just a matter of setting the right settings. See this file: https://github.com/DAGWorks-Inc/hamilton/blob/main/ui/backend/server/commands.py#L63.Michal Siedlaczek
06/26/2024, 2:36 PMElijah Ben Izzy
06/26/2024, 2:37 PMMichal Siedlaczek
06/26/2024, 2:38 PMMichal Siedlaczek
06/26/2024, 2:38 PMMichal Siedlaczek
06/26/2024, 2:38 PMElijah Ben Izzy
06/26/2024, 2:38 PMMichal Siedlaczek
06/26/2024, 2:39 PMElijah Ben Izzy
06/26/2024, 2:39 PM