Skip to content

Commit

Permalink
docs: Note on out file name and render.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ff6347 committed Feb 17, 2023
1 parent 7c0c462 commit b90e8ad
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .envrc.sample
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ export TILESET_DIR=/tilesets
export TILESET_NAME=trees.mbtiles
export TMP_DIR=/tmp
export GEOJSON_OUTPUT_DIR=$TMP_DIR
# Changinng the name of the output file will
# will need a change in the frontend as well.
# See https://github.com/technologiestiftung/baumblick-frontend/blob/7768f5809d024197e26f0b96f55d7d8593a7f6f4/src/components/TreesMap/treesLayer.ts#L13
export GEOJSON_OUTPUT_FILENAME=trees.geo.json
export POSTGREST_API_URL=http://localhost:3000
export POSTGRES_MATERIALIZE_VIEW_NAME=vector_tiles
6 changes: 5 additions & 1 deletion .github/workflows/docker-generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ jobs:
TILESET_NAME: "trees.mbtiles"
TILESET_DIR: "/tilesets"
TMP_DIR: "/tmp"
GEOJSON_OUTPUT_FILENAME: "/trees.geo.json"
# Changinng the name of the output file will
# will need a change in the frontend as well.
# See https://github.com/technologiestiftung/baumblick-frontend/blob/7768f5809d024197e26f0b96f55d7d8593a7f6f4/src/components/TreesMap/treesLayer.ts#L13

GEOJSON_OUTPUT_FILENAME: "trees.geo.json"
POSTGRES_MATERIALIZE_VIEW_NAME: "vector_tiles"
AWS_DEFAULT_REGION: eu-central-1
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}
Expand Down
4 changes: 3 additions & 1 deletion render.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# NOTE: This file is just an example os is not used in our current setup
# We set the render service manually because we use two environments.
# Staging and production.
services:
- type: web
name: qtrees-vectortiles
Expand All @@ -8,7 +11,6 @@ services:
dockerContext: .
dockerfilePath: Dockerfile.server
envVars:

- key: AWS_SECRET_ACCESS_KEY
sync: false
- key: AWS_ACCESS_KEY_ID
Expand Down

0 comments on commit b90e8ad

Please sign in to comment.