Skip to content

Commit

Permalink
Remove resource limits for common resources
Browse files Browse the repository at this point in the history
  • Loading branch information
g3force committed Jun 24, 2021
1 parent 75c26a4 commit ff95dd1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 38 deletions.
10 changes: 0 additions & 10 deletions docker-compose-monitoring.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ services:
- "--admin-password-file"
- "/tmp/portainer_password"
restart: unless-stopped
mem_limit: 2g
cpus: 2
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./config/portainer_password:/tmp/portainer_password
Expand All @@ -19,8 +17,6 @@ services:
prometheus:
image: prom/prometheus:v2.27.1
restart: unless-stopped
mem_limit: 2g
cpus: 2
# ports:
# - 9090:9090
command:
Expand All @@ -37,8 +33,6 @@ services:
node-exporter:
image: prom/node-exporter:v1.1.2
restart: unless-stopped
mem_limit: 2g
cpus: 2
# ports:
# - 9100:9100
volumes:
Expand All @@ -56,8 +50,6 @@ services:
cadvisor:
image: gcr.io/cadvisor/cadvisor:v0.39.1
restart: unless-stopped
mem_limit: 2g
cpus: 2
# ports:
# - 8080:8080
volumes:
Expand All @@ -71,8 +63,6 @@ services:
grafana:
image: grafana/grafana:7.5.7
restart: unless-stopped
mem_limit: 2g
cpus: 2
# ports:
# - 3000:3000
volumes:
Expand Down
28 changes: 0 additions & 28 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ services:
caddy:
image: caddy:2.2.1-alpine
restart: unless-stopped
mem_limit: 6g
cpus: 4
ports:
- "80:80/tcp"
- "443:443/tcp"
Expand All @@ -21,8 +19,6 @@ services:
guacd:
image: guacamole/guacd:1.3.0
restart: unless-stopped
mem_limit: 2g
cpus: 2
volumes:
- guacd-drive:/drive:rw
- guacd-record:/record:rw
Expand All @@ -33,8 +29,6 @@ services:
postgres:
image: postgres:13
restart: unless-stopped
mem_limit: 1g
cpus: 1
environment:
PGDATA: /var/lib/postgresql/data/guacamole
POSTGRES_DB: guacamole_db
Expand All @@ -51,8 +45,6 @@ services:
guacamole:
image: guacamole/guacamole:1.3.0
restart: unless-stopped
mem_limit: 5g
cpus: 4
environment:
GUACD_HOSTNAME: guacd
POSTGRES_DATABASE: guacamole_db
Expand All @@ -72,8 +64,6 @@ services:
image: robocupssl/ssl-vision-client:1.5.1
command: [ "-visionAddress", "224.5.23.2:10006" ]
restart: unless-stopped
mem_limit: 4g
cpus: 4
ports:
- 8082/tcp
networks:
Expand All @@ -83,8 +73,6 @@ services:
ssl-status-board:
image: robocupssl/ssl-status-board:2.4.1
restart: unless-stopped
mem_limit: 4g
cpus: 2
ports:
- 8082/tcp
networks:
Expand All @@ -103,8 +91,6 @@ services:
- "-address"
- ":8081"
restart: unless-stopped
mem_limit: 2g
cpus: 4
volumes:
- ssl-game-controller-config:/config:rw
ports:
Expand All @@ -123,8 +109,6 @@ services:
- "mc,224.5.23.2:10006,224.5.23.2:11006,Vision"
- "mc,224.5.23.2:10010,224.5.23.2:11010,Tracker"
restart: unless-stopped
mem_limit: 2g
cpus: 2
ports:
- 10007/tcp
- 10008/tcp
Expand All @@ -141,8 +125,6 @@ services:
# ER-Force options
GEOMETRY: "2020"
REALISM: "RC2021"
mem_limit: 1g
cpus: 2
ports:
- 10300/udp
- 10301/udp
Expand All @@ -159,8 +141,6 @@ services:
- "mc,224.5.23.1:10003,224.5.23.1:11003,Referee"
- "mc,224.5.23.2:10010,224.5.23.2:11010,Tracker"
restart: unless-stopped
mem_limit: 1g
cpus: 2
ports:
- 10300/udp
- 10301/udp
Expand All @@ -183,8 +163,6 @@ services:
- "-robotSpecConfig"
- "/config/robot-specs.yaml"
restart: unless-stopped
mem_limit: 1g
cpus: 1
volumes:
- ./config/ssl-simulation-controller:/config:ro
networks:
Expand All @@ -193,8 +171,6 @@ services:
ssl-auto-recorder:
image: robocupssl/ssl-auto-recorder:0.2.2
restart: unless-stopped
mem_limit: 2g
cpus: 1
volumes:
- ssl-auto-recorder-data:/data:rw
networks:
Expand Down Expand Up @@ -227,8 +203,6 @@ services:
# Run without UI in active mode
command: [ "-a" ]
restart: unless-stopped
mem_limit: 2g
cpus: 2
environment:
- VNC_PASSWORD=${VNC_PW}
ports:
Expand All @@ -242,8 +216,6 @@ services:
# Run with UI (note: need to connect to the UI once to start the autoRef)
# command: [ "vnc" ]
restart: unless-stopped
mem_limit: 2g
cpus: 2
environment:
- VNC_PASSWORD=${VNC_PW}
ports:
Expand Down

0 comments on commit ff95dd1

Please sign in to comment.