Different apps same database using meteor up?

Thanks @arunoda , I set up the env for subdomain as

“env”: {
“PORT”: 8000,
“ROOT_URL”: “http://sub.mymaindomain.com”,
“MONGO_URL”: “mongodb://mongodb/main”
}

It still creates a different database with the appname.