Skip to content
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.

Commit

Permalink
use env file everywhere (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrissng authored and lawliet89 committed Feb 2, 2018
1 parent 81d10e8 commit 4f7e502
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
12 changes: 12 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
POSTGRES_DB=openmaptiles
POSTGRES_USER=openmaptiles
POSTGRES_PASSWORD=openmaptiles
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
QUICKSTART_MIN_ZOOM=0
QUICKSTART_MAX_ZOOM=18
DIFF_MODE=false
BBOX=103.062,0.807,104.545,1.823
OSM_AREA_NAME=Singapore Metro Area
MIN_ZOOM=0
MAX_ZOOM=18
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ mkdir -p data
echo "====> : Downloading Singapore Metro Extract"
curl https://s3.amazonaws.com/metro-extracts.mapzen.com/singapore.osm.pbf -o data/singapore.osm.pbf

cp ../.env .env
cp ../docker-compose-config.yml data/docker-compose-config.yml

./quickstart.sh singapore
12 changes: 1 addition & 11 deletions docker-compose-config.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1 @@
version: "2"
services:
generate-vectortiles:
environment:
DIFF_MODE: "false"
BBOX: "103.062,0.807,104.545,1.823"
OSM_AREA_NAME: "Singapore Metro Area"
QUICKSTART_MIN_ZOOM: "0"
QUICKSTART_MAX_ZOOM: "18"
MIN_ZOOM: "0"
MAX_ZOOM: "18"
version: "2"

0 comments on commit 4f7e502

Please sign in to comment.