mongo on railway

I am trying to get mongo v7 up and running on railway. When using default options, I am getting following warnings.

 2023-09-09T11:31:19.114+00:00: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine. See http://dochub.mongodb.org/core/prodnotes-filesystem
   2023-09-09T11:31:20.123+00:00: Access control is not enabled for the database. Read and write access to data and configuration is unrestricted
   2023-09-09T11:31:20.123+00:00: You are running this process as the root user, which is not recommended
   2023-09-09T11:31:20.126+00:00: You are running on a NUMA machine. We suggest launching mongod like this to avoid performance problems: numactl --interleave=all mongod [other options]
   2023-09-09T11:31:20.127+00:00: /sys/kernel/mm/transparent_hugepage/enabled is 'always'. We suggest setting it to 'never'
   2023-09-09T11:31:20.127+00:00: vm.max_map_count is too low

I tried numactl --interleave=all mongod ...options but it is failing.
set_mempolicy: Operation not permitted
setting interleave mask: Operation not permitted

Can anyone help?

Service ID: c0c762ed-959d-40b6-b895-4768ccbde062
Deployment ID: 7d3c3eaa-ff87-4219-8ac0-1a9f006828a6

Looking for more? Join the community!