you can add an environment: block to your apps: entry to export custom env variables:
environment:
apps:
like this: