diff options
| author | 2021-08-26 16:39:04 +0100 | |
|---|---|---|
| committer | 2021-08-26 16:39:04 +0100 | |
| commit | 78d8bde653187cbf23a2f0ef8a6952058ad95bf4 (patch) | |
| tree | 14f42d9c92f44a135879f52bb3e5e670e2f50134 /config-default.yml | |
| parent | Merge pull request #1783 from python-discord/user-message-link-support (diff) | |
Use publically available URL when outputting metabase share URL
In production we use the internal URL to call the metabase API, to avoid egress
but we still want to output the public url when giving the sharing link.
Making it a constant like this makes it easier to change/overwrite in future if needed.
Diffstat (limited to 'config-default.yml')
| -rw-r--r-- | config-default.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config-default.yml b/config-default.yml index 8e0b97a51..baece5c51 100644 --- a/config-default.yml +++ b/config-default.yml @@ -441,6 +441,7 @@ metabase: username: !ENV "METABASE_USERNAME" password: !ENV "METABASE_PASSWORD" base_url: "http://metabase.default.svc.cluster.local" + public_url: "https://metabase.pythondiscord.com" # 14 days, see https://www.metabase.com/docs/latest/operations-guide/environment-variables.html#max_session_age max_session_age: 20160 |