'Can't deploy basic ERC20 on mainnet using truffle. Due to insufficient gas

It's my first time deploying to Mainnet. I've checked the price currently to deploy the same contract on remix and my Metamask wallet address which, I'm using to deploy has a higher balance than this . I think there should be enough funds in there to deploy.

My truffle.js looks as follows. Can anyone please tell me what I should set the gas to and if everything looks ok?

    provider: () => new HDWalletProvider(mnemonic, `https://mainnet.infura.ioMY_NETWORK_KEY`),
    network_id: 1,       // Ropsten's id
    gas: 8721974,
    //gasPrice: 865625,        // Ropsten has a lower block limit than mainnet
    confirmations: 2,    // # of confs to wait between deployments. (default: 0)
    timeoutBlocks: 200,  // # of blocks before a deployment times out  (minimum/default: 50)
    skipDryRun: false     // Skip dry run before migrations? (default: false for public nets )
    },


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source