Skip to content
This repository has been archived by the owner on Jan 9, 2020. It is now read-only.

Commit

Permalink
Merge pull request #8 from MartinMikita/configjson
Browse files Browse the repository at this point in the history
Configurable path for config.json
  • Loading branch information
lukasmartinelli authored Feb 5, 2017
2 parents 62ee756 + 7e79d6a commit a043f13
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ ENV IMPORT_DIR=/import \
IMPOSM_CACHE_DIR=/cache \
MAPPING_YAML=/mapping/mapping.yaml \
DIFF_DIR=/import \
TILES_DIR=/import
TILES_DIR=/import \
CONFIG_JSON=config.json

WORKDIR /usr/src/app
COPY . /usr/src/app/
Expand Down
2 changes: 1 addition & 1 deletion import_diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function import_diff() {
-diffdir "$IMPORT_DIR" \
-expiretiles-dir "$IMPORT_DIR" \
-expiretiles-zoom 14 \
-config config.json "$IMPORT_DIR/changes.osc.gz"
-config $CONFIG_JSON "$IMPORT_DIR/changes.osc.gz"
}

import_diff
2 changes: 1 addition & 1 deletion import_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function update() {
-diffdir "$DIFF_DIR" \
-expiretiles-dir "$TILES_DIR" \
-expiretiles-zoom 14 \
-config config.json
-config $CONFIG_JSON
}

update

0 comments on commit a043f13

Please sign in to comment.