Skip to content

Commit

Permalink
made sure that osm2pgsql has caching configured
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Aug 10, 2024
1 parent 16ebea9 commit a062938
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ services:
- osm2pgsql
- --create
- --slim
- --cache
- "200"
- --database
- ${POSTGRES_DB}
- --user
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ services:
- osm2pgsql
- --create
- --slim
- --cache
- "4096" # cache size in MB, maybe underspeced
- --database
- ${POSTGRES_DB}
- --user
Expand Down

0 comments on commit a062938

Please sign in to comment.