The environment variable to use to set the license is ADSKFLEX_LICENSE_FILE. For example,

ADSKFLEX_LICENSE_FILE=2080@license-server.example.com