Enironment Variable being rendered literal
You can't append anything to the value if you use environment variables. You need to use aliases for this.
In you config/general.php, add this:
'*' =&gt; [
    'aliases' =&gt; [
        'assetBasePath' =&gt; getenv('ASSET_BASE_PATH'),
        'assetBaseUrl' =&gt; getenv('ASSET_BASE_URL'),
    ],
],


Then in the asset volume settings, use the aliases in the Base URL &amp; File system path: