Skip to content

Commit

Permalink
remove resource limits in docker-compose-swarm.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zzhou612 committed Jul 31, 2022
1 parent c86920a commit 6319b6e
Showing 1 changed file with 0 additions and 52 deletions.
52 changes: 0 additions & 52 deletions socialNetwork/docker-compose-swarm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ services:
replicas: 1
restart_policy:
condition: any
resources:
limits:
cpus: "1"
memory: 1G
command: ["ComposePostService"]
hostname: compose-post-service
image: deathstarbench/social-network-microservices:latest
Expand All @@ -62,10 +58,6 @@ services:
replicas: 1
restart_policy:
condition: any
resources:
limits:
cpus: "1"
memory: 1G
command: ["HomeTimelineService"]
hostname: home-timeline-service
image: deathstarbench/social-network-microservices:latest
Expand All @@ -81,10 +73,6 @@ services:
replicas: 1
restart_policy:
condition: any
resources:
limits:
cpus: "1"
memory: 1G
hostname: media-frontend
image: yg397/media-frontend:xenial
ports:
Expand Down Expand Up @@ -126,10 +114,6 @@ services:
replicas: 1
restart_policy:
condition: any
resources:
limits:
cpus: "1"
memory: 1G
command: ["MediaService"]
hostname: media-service
image: deathstarbench/social-network-microservices:latest
Expand All @@ -145,10 +129,6 @@ services:
replicas: 1
restart_policy:
condition: any
resources:
limits:
cpus: "4"
memory: 4G
hostname: nginx-web-server
image: yg397/openresty-thrift:xenial
ports:
Expand Down Expand Up @@ -195,10 +175,6 @@ services:
replicas: 1
restart_policy:
condition: any
resources:
limits:
cpus: "1"
memory: 1G
command: ["PostStorageService"]
hostname: post-storage-service
image: deathstarbench/social-network-microservices:latest
Expand Down Expand Up @@ -238,10 +214,6 @@ services:
replicas: 1
restart_policy:
condition: any
resources:
limits:
cpus: "1"
memory: 1G
command: ["SocialGraphService"]
hostname: social-graph-service
image: deathstarbench/social-network-microservices:latest
Expand All @@ -257,10 +229,6 @@ services:
replicas: 1
restart_policy:
condition: any
resources:
limits:
cpus: "1"
memory: 1G
command: ["TextService"]
hostname: text-service
image: deathstarbench/social-network-microservices:latest
Expand All @@ -276,10 +244,6 @@ services:
replicas: 1
restart_policy:
condition: any
resources:
limits:
cpus: "1"
memory: 1G
command: ["UniqueIdService"]
hostname: unique-id-service
image: deathstarbench/social-network-microservices:latest
Expand Down Expand Up @@ -320,10 +284,6 @@ services:
replicas: 1
restart_policy:
condition: any
resources:
limits:
cpus: "1"
memory: 1G
command: ["UrlShortenService"]
hostname: url-shorten-service
image: deathstarbench/social-network-microservices:latest
Expand Down Expand Up @@ -351,10 +311,6 @@ services:
replicas: 1
restart_policy:
condition: any
resources:
limits:
cpus: "1"
memory: 1G
command: ["UserMentionService"]
hostname: user-mention-service
image: deathstarbench/social-network-microservices:latest
Expand Down Expand Up @@ -383,10 +339,6 @@ services:
replicas: 1
restart_policy:
condition: any
resources:
limits:
cpus: "1"
memory: 1G
command: ["UserService"]
hostname: user-service
image: deathstarbench/social-network-microservices:latest
Expand Down Expand Up @@ -425,10 +377,6 @@ services:
replicas: 1
restart_policy:
condition: any
resources:
limits:
cpus: "1"
memory: 1G
command: ["UserTimelineService"]
hostname: user-timeline-service
image: deathstarbench/social-network-microservices:latest
Expand Down

0 comments on commit 6319b6e

Please sign in to comment.