feat: configurable port, use HUB_DATA and HUB_PORT env vars
This commit is contained in:
1 parent
6be745a6f4
commit
248146056a
5 files changed
+16
-12
No files matched your search
@@ -23,7 +23,9 @@ def tortoise_config(data_directory):
|
||||
}
|
||||
|
||||
# Only used for tortoise tool
|
||||
TORTOISE_ORM=tortoise_config(os.getenv("HORDE_DATA_DIR"))
|
||||
# TODO: Should move somewhere tool specific and using the same directory as app
|
||||
# computing this here unconditionally is dirty
|
||||
TORTOISE_ORM=tortoise_config(os.getenv("HUB_DATA"))
|
||||
|
||||
# Considering creating a migration script "makemigration.py" or similar, that will load the config and make migration
|
||||
|
||||
|
||||
Reference in new issue
Block a user