Skip to content

Commit

Permalink
Fix docker-compose environment field (#2897)
Browse files Browse the repository at this point in the history
  • Loading branch information
dapplion authored Jul 27, 2021
1 parent f934bff commit c40dfa5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
command: validator --rootDir /data --keystoresDir /keystores --secretsDir /secrets --server http://beacon_node:9596 --logFile /logs/validator.log --logLevelFile debug --logRotate --logMaxFiles 5
# A validator client requires very little memory. This limit allows to run the validator
# along with the beacon_node in a 8GB machine and be safe on memory spikes.
env:
environment:
NODE_OPTIONS: --max_old_space_size=2048

volumes:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
# NodeJS applications have a default memory limit of 2.5GB.
# This limit is bit tight for a Prater node, it is recommended to raise the limit
# since memory may spike during certain network conditions.
env:
environment:
NODE_OPTIONS: --max_old_space_size=6144

prometheus:
Expand Down

0 comments on commit c40dfa5

Please sign in to comment.