Skip to content

Commit

Permalink
Merge pull request passportxyz#882 from gitcoinco/bump-memory-and-uli…
Browse files Browse the repository at this point in the history
…mits

bumping memory and ulimits
  • Loading branch information
kammerdiener authored Jan 26, 2023
2 parents a6026aa + 9a6681d commit 8f9c20f
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion infra/ceramic-mainnet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,13 @@ const service = new awsx.ecs.FargateService("dpopp-ceramic", {
portMappings: [httpsListener],
links: [],
command: ceramicCommand,
"ulimits": [
{
"name": "nofile",
"hardLimit": 1000000,
"softLimit": 1000000
}
],
environment: [
{ name: "NODE_ENV", value: "production" },
{ name: "AWS_ACCESS_KEY_ID", value: usrS3Key },
Expand All @@ -363,10 +370,17 @@ const serviceIPFS = new awsx.ecs.FargateService("dpopp-ipfs", {
containers: {
ipfs: {
image: "ceramicnetwork/go-ipfs-daemon:962a0f2d5e29204f79bb436e5cb82f94dfe37dea", // This is go-ipfs v0.15.0
memory: 8192,
memory: 12288,
cpu: 4096,
portMappings: [ceramicListener, ipfsListener, ipfsHealthcheckListener, ifpsWSListener],
links: [],
"ulimits": [
{
"name": "nofile",
"hardLimit": 1000000,
"softLimit": 1000000
}
],
environment: [
{ name: "IPFS_ENABLE_S3", value: "true" },
{ name: "IPFS_S3_REGION", value: "us-east-1" },
Expand Down

0 comments on commit 8f9c20f

Please sign in to comment.