Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sichapman authored Oct 7, 2024
1 parent 6d76a77 commit f28c512
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,12 @@ The ports 9300 and 9302 are exposed on the host.
The ports 9207 and 9307 are exposed on the host.

If the ElasticSearch 7 container is returning the follow error log message:
```
max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
```

`max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]`

Run the following command in a terminal to set the system's max map count.
```

```bash
sysctl -w vm.max_map_count=262144
```

Expand Down
2 changes: 1 addition & 1 deletion scripts/commodities.rb
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def provision_commodities(root_loc, new_containers)
# If you later modify .commodities to allow this to run again (e.g. if you've added new apps to your group),
# you'll need to delete the postgres container and it's volume else you'll get errors.
# Do a fullreset, or docker-compose rm -v -f postgres-13
['13', '17'].each do |postgres_version|
%w(13, 17).each do |postgres_version|
provision_postgres(root_loc, new_containers, postgres_version)
# Alembic, too
provision_alembic(root_loc, postgres_version)
Expand Down

0 comments on commit f28c512

Please sign in to comment.