diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 0c16142..d25fca7 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -19,14 +19,15 @@ services: #MASTERDATA: /masterdata/ # Override bundled CSVs / new_user.json at runtime (missing files fall back to the internal copies) # Asset hash / version overrides. Leave unset to use the values bundled in - # the binary; set one to make the server report a different hash/version - # to that client (e.g. to track a newer client build). + # the binary. ASSET_VERSION is the one version every override below is + # served for; each hash replaces what that client is told to expect + # (e.g. to track a newer client build). + #ASSET_VERSION: "" #JP_ANDROID_ASSET_HASH: "" #JP_IOS_ASSET_HASH: "" #EN_ANDROID_ASSET_HASH: "" #EN_IOS_ASSET_HASH: "" - #WINDOWS_ASSET_VERSION: "" # Windows asset version (JP only; GL Windows is unused) - #WINDOWS_ASSET_HASH: "" # Windows asset hash (JP only) + #WINDOWS_ASSET_HASH: "" # Windows asset hash (JP only; GL Windows is unused) # Everything below is for the "Help" page #ANDROID_GLOBAL: "link.to/patched/android/global.apk" @@ -41,6 +42,6 @@ services: # You can download from https://git.ethanthesleepy.one/ethanaobrien/ew-webui/releases/download/images/card-thumbnails.zip # No, you should not have a nested folder EXAMPLE: `images/FILENAME.webp` #- ./images:/images - # Mirrors the bundled layout: asset_lists/{Bundle,Movie,Sound}.json, csv/.csv, csv-en/
.csv, userdata/new_user.json + # Mirrors the bundled layout: csv/
.csv, csv-en/
.csv, userdata/new_user.json #- ./masterdata:/masterdata restart: unless-stopped diff --git a/docker/start.sh b/docker/start.sh index 449255b..1505df9 100755 --- a/docker/start.sh +++ b/docker/start.sh @@ -23,11 +23,11 @@ add_opt() { } # Asset hash / version overrides +add_opt "${ASSET_VERSION:-}" --asset-version add_opt "${JP_ANDROID_ASSET_HASH:-}" --jp-android-asset-hash add_opt "${JP_IOS_ASSET_HASH:-}" --jp-ios-asset-hash add_opt "${EN_ANDROID_ASSET_HASH:-}" --en-android-asset-hash add_opt "${EN_IOS_ASSET_HASH:-}" --en-ios-asset-hash -add_opt "${WINDOWS_ASSET_VERSION:-}" --windows-asset-version add_opt "${WINDOWS_ASSET_HASH:-}" --windows-asset-hash # Asset / image paths.