Skip to content

Commit

Permalink
Update config external db for production
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Dec 10, 2024
1 parent c790ff2 commit dd84456
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion images/tiler-cache/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/openhistoricalmap/tiler-server:0.0.1-0.dev.git.1859.h75499f5
FROM ghcr.io/openhistoricalmap/tiler-server:0.0.1-0.dev.git.1880.h0f4c894

RUN apk update && apk add --no-cache \
proj \
Expand Down
10 changes: 6 additions & 4 deletions values.production.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -354,13 +354,15 @@ osm-seed:

tilerDb:
enabled: true
useExternalHost: # When we are using useExternalHost.enabled= true other variables are giong to be disable ans use the external host config
enabled: true
nodeSelector:
enabled: true
label_key: nodegroup_type
label_value: api_db
env:
POSTGRES_HOST: production-tiler-db
POSTGRES_DB: tiler-osm
POSTGRES_HOST: {{PRODUCTION_TILER_DB_HOST}}
POSTGRES_DB: tiler_osm_production
POSTGRES_USER: postgres
POSTGRES_PASSWORD: {{PRODUCTION_TILER_DB_PASSWORD}}
POSTGRES_PORT: 5432
Expand Down Expand Up @@ -927,7 +929,7 @@ ohm:
env:
REGION_NAME: us-east-1
NAMESPACE: default # Namespace to run the job
DOCKER_IMAGE: ghcr.io/openhistoricalmap/tiler-server:0.0.1-0.dev.git.1791.h27fbedb # TODO, this should be automatically updated from tiler server image
DOCKER_IMAGE: ghcr.io/openhistoricalmap/tiler-server:0.0.1-0.dev.git.1880.h0f4c894 # TODO, this should be automatically updated from tiler server image
SQS_QUEUE_URL: {{PRODUCTION_SQS_QUEUE_URL}}
NODEGROUP_TYPE: web_large # Nodegroup type to run the job
MAX_ACTIVE_JOBS: 10 # Maximum number of active jobs in high concurrency queue
Expand Down Expand Up @@ -962,7 +964,7 @@ ohm:
schedule: '0 */6 * * *'
env:
GEOJSON_URL: https://osmseed-dev.s3.us-east-1.amazonaws.com/tiler/wold-usa-eu.geojson
ZOOM_LEVELS: '7,8'
ZOOM_LEVELS: '7,8,9,10'
CONCURRENCY: 32
S3_BUCKET: osmseed-dev
OUTPUT_FILE: /logs/tiler_benchmark.log
Expand Down
4 changes: 2 additions & 2 deletions values.staging.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ osm-seed:
# ====================================================================================================

tilerServer:
enabled: false
enabled: true
nodeSelector:
enabled: true
label_key: nodegroup_type
Expand Down Expand Up @@ -966,7 +966,7 @@ ohm:
env:
REGION_NAME: us-east-1
NAMESPACE: default # Namespace to run the job
DOCKER_IMAGE: ghcr.io/openhistoricalmap/tiler-server:0.0.1-0.dev.git.1859.h75499f5 # TODO, this should be automatically updated from tiler server image
DOCKER_IMAGE: ghcr.io/openhistoricalmap/tiler-server:0.0.1-0.dev.git.1880.h0f4c894 # TODO, this should be automatically updated from tiler server image
SQS_QUEUE_URL: {{STAGING_SQS_QUEUE_URL}}
NODEGROUP_TYPE: web_large # Nodegroup type to run the job
MAX_ACTIVE_JOBS: 2 # Maximum number of active jobs in high concurrency queue
Expand Down

0 comments on commit dd84456

Please sign in to comment.