|
20 | 20 | # KUN_OAUTH_CLIENT_SECRET — the 鲲 Galgame 表情包 confidential client secret |
21 | 21 | # KUN_CATALOG_API_KEY — application key (nmk_live_…) scoped catalog:read, |
22 | 22 | # minted in the NextMoe developer portal |
| 23 | +# NUXT_OG_SITE_KEY — nextmoe-og per-site signing key. Optional: with |
| 24 | +# it unset, share images fall back to the artwork |
| 25 | +# each page already has. |
23 | 26 | # A Dokploy variable only reaches a container if this file names it, which is |
24 | 27 | # why the key is written out in x-api-env below rather than merely existing in |
25 | 28 | # the panel. It is required (:?) rather than optional on purpose: an absent key |
@@ -51,6 +54,10 @@ x-api-env: &api-env |
51 | 54 | # keystroke. Only the secret comes from Dokploy. |
52 | 55 | KUN_CATALOG_BASE_URL: http://catalog:9281 |
53 | 56 | KUN_CATALOG_API_KEY: ${KUN_CATALOG_API_KEY:?set KUN_CATALOG_API_KEY} |
| 57 | + # Pack comment threads. Same OAuth credentials as the image service; the |
| 58 | + # tenant is derived upstream from this client's catalog_site binding and is |
| 59 | + # never sent, so there is nothing else to configure here. |
| 60 | + KUN_COMMUNITY_BASE_URL: http://community:9282 |
54 | 61 |
|
55 | 62 | services: |
56 | 63 | # Unique name on dokploy-network (same reason kungal-api / moyu-api are not |
@@ -84,6 +91,9 @@ services: |
84 | 91 | NUXT_PUBLIC_OAUTH_FRONTEND_URL: https://oauth.kungal.com |
85 | 92 | NUXT_PUBLIC_OAUTH_CLIENT_ID: c5cd7b074804ba134934eb6c175a8f4d |
86 | 93 | NUXT_PUBLIC_OAUTH_REDIRECT_URI: https://sticker.kungal.com/auth/callback |
| 94 | + # Server-side only: the signature is computed in a Nitro route, so this |
| 95 | + # never reaches a browser bundle. |
| 96 | + NUXT_OG_SITE_KEY: ${NUXT_OG_SITE_KEY:-} |
87 | 97 | expose: |
88 | 98 | - '3000' |
89 | 99 | depends_on: |
|
0 commit comments