externalized port configuration to env variable