[DependencyInjection] Resolve environment variables at runtime