|
|
@@ -21,9 +21,11 @@ UI_PORT=8080
|
|
|
# -----------------------------------------------------------------------------
|
|
|
# IRDB-format service token. The api uses this to authenticate the ui's
|
|
|
# calls; the ui presents it on every API request together with
|
|
|
-# X-Acting-User-Id. Format: irdb_svc_<32 base32 chars>. Generate one with:
|
|
|
-# docker compose run --rm -T api php -r 'require "/app/vendor/autoload.php";
|
|
|
-# echo (new App\Domain\Auth\TokenIssuer())->issue(App\Domain\Auth\TokenKind::Service);'
|
|
|
+# X-Acting-User-Id. Format: irdb_svc_<32 base32 chars>. Generate one with
|
|
|
+# (note `--entrypoint php` — the api image's default entrypoint is a
|
|
|
+# dispatcher with `api` / `migrate` modes, so ad-hoc PHP bypasses it):
|
|
|
+# docker compose run --rm -T --entrypoint php api -r 'require "/app/vendor/autoload.php";
|
|
|
+# echo (new App\Domain\Auth\TokenIssuer())->issue(App\Domain\Auth\TokenKind::Service), PHP_EOL;'
|
|
|
UI_SERVICE_TOKEN=
|
|
|
|
|
|
# -----------------------------------------------------------------------------
|