get api working in docker container

This commit is contained in:
Travis Shears 2025-08-12 16:16:54 +02:00
parent ef4f8959df
commit e18cc26ddd
3 changed files with 16 additions and 11 deletions

View file

@ -6,7 +6,9 @@
:blue-sky-api-key "BLUE_SKY_API_KEY"
:minstral-api-key "MISTRAL_API_KEY"
:mastodon-host "MASTODON_BASE_URL"
:mastodon-account-id "MASTODON_ACCOUNT_ID"})
:mastodon-account-id "MASTODON_ACCOUNT_ID"
:api-host "API_HOST"
:api-port "API_PORT"})
(defn- load-config []
(merge (read-string (slurp "config.edn"))