generate ghost config.js from envs