azavea / tilegarden

Serverless raster and vector map tile generation using Mapnik and AWS Lambda
https://azavea.github.io/tilegarden/
Other
98 stars 7 forks source link

WIP: Make deployment scripts handle multi-environment deployment #140

Open KlaasH opened 5 years ago

KlaasH commented 5 years ago

Overview

The existing deployment setup relied on single .env, .api-id and claudia.json files, so supporting multiple environments required shuffling different copies around and copying them onto those filenames, which incurs risk of confusion and error.

This uses the upcoming --env-file option for docker-compose to use the same basic .env-based deployment but make it support multiple remote environments.

This PR is WIP and not ready for merging because the --env-file option for docker-compose is in the v1.25 release candidate but not yet in a released version.

Also WIP because I need to revise the README to reflect these changes.

Demo

TK

Notes

Testing Instructions

TK

Related to https://github.com/azavea/tilegarden/issues/129#issuecomment-490729633