Skip to content

Commit

Permalink
build: add redis_host variable to osm thumbnail
Browse files Browse the repository at this point in the history
  • Loading branch information
javierblancoNS committed Jan 31, 2022
1 parent 4db3771 commit e21ffbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ NS_ECOTEKA_LANDING_PAGE_IMAGE={{ ns_ecoteka_landing_page_image | default('regist

# OSM_THUMBNAILS
NS_ECOTEKA_OSM_THUMBNAILS_IMAGE={{ ns_ecoteka_osm_thumbnails_image | default('registry.gitlab.com/natural-solutions/ecoteka-osm-thumbnail:latest') }}
NS_ECOTEKA_OSM_THUMBNAILS_REDIS={{ ns_ecoteka_osm_thumbnails_redis | default('redis://redis:6379/1') }}
NS_ECOTEKA_OSM_THUMBNAILS_REDIS_HOST={{ ns_ecoteka_osm_thumbnails_redis | default('redis') }}
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ services:
- traefik.http.routers.osm_thumbnails.middlewares=osm_thumbnails-stripprefix
- traefik.http.middlewares.osm_thumbnails-stripprefix.stripprefix.prefixes=/osm_thumbnails
environment:
- REDIS=${NS_ECOTEKA_OSM_THUMBNAILS_REDIS}
- REDIS_HOST=${NS_ECOTEKA_OSM_THUMBNAILS_REDIS_HOST}

tile_server:
restart: always
Expand Down

0 comments on commit e21ffbf

Please sign in to comment.