Skip to content

Commit

Permalink
Add wawel, a tile server hosted by cloudferro
Browse files Browse the repository at this point in the history
  • Loading branch information
pnorman committed Aug 30, 2024
1 parent ce776f3 commit 24310af
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions roles/wawel.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name "wawel"
description "Master role applied to wawel"

default_attributes(
:postgresql => {
:settings => {
:defaults => {
:effective_cache_size => "16GB"
}
}
},
:sysctl => {
:postgres => {
:comment => "Increase shared memory for postgres",
:parameters => {
"kernel.shmmax" => 9 * 1024 * 1024 * 1024,
"kernel.shmall" => 9 * 1024 * 1024 * 1024 / 4096
}
}
},
:tile => {
:database => {
:cluster => "16/main",
:postgis => "3"
},
:mapnik => "3.1",
:styles => {
:default => {
:tile_directories => [
{ :name => "/store/tiles/default", :min_zoom => 0, :max_zoom => 19 }
]
}
}
}
)

run_list(
"role[cloudferro-waw3-2]",
"role[tile]"
)

0 comments on commit 24310af

Please sign in to comment.