Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@
class Settings(BaseSettings):
# World Administrative Boundaries
WAB_FILE_PATH: str = "./geodata-prep/geodata/wab.fgb"
WAB_DOWNLOAD_URL: str = "https://github.com/IFRCGo/geocoding-service/releases/download/v1.0.0/wab.fgb"
WAB_DOWNLOAD_URL: str = "https://github.com/IFRCGo/geocoding-service/releases/download/v1.0.2/wab.fgb"
# EMDAT GAUL
GAUL_FILE_PATH: str = "./geodata-prep/geodata/gaul.gpkg"
GAUL_DOWNLOAD_URL: str = "https://github.com/IFRCGo/geocoding-service/releases/download/v1.0.0/gaul.gpkg"
GAUL_DOWNLOAD_URL: str = "https://github.com/IFRCGo/geocoding-service/releases/download/v1.0.2/gaul.gpkg"
# World Administrative Boundaries
SUPER_SIMPLIFIED_WAB_FILE_PATH: str = "./geodata-prep/geodata/super_simple.wab.fgb"
SUPER_SIMPLIFIED_WAB_DOWNLOAD_URL: str = (
"https://github.com/IFRCGo/geocoding-service/releases/download/v1.0.0/super_simple.wab.fgb"
"https://github.com/IFRCGo/geocoding-service/releases/download/v1.0.2/super_simple.wab.fgb"
)
# EMDAT GAUL
SUPER_SIMPLIFIED_GAUL_FILE_PATH: str = "./geodata-prep/geodata/super_simple.gaul.gpkg"
SUPER_SIMPLIFIED_GAUL_DOWNLOAD_URL: str = (
"https://github.com/IFRCGo/geocoding-service/releases/download/v1.0.0/super_simple.gaul.gpkg"
"https://github.com/IFRCGo/geocoding-service/releases/download/v1.0.2/super_simple.gaul.gpkg"
)


Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ services:
WAB_FILE_PATH: /geodata/simple.wab.fgb
GAUL_FILE_PATH: /geodata/simple.gaul.gpkg
SUPER_SIMPLIFIED_WAB_FILE_PATH: /geodata/super_simple.wab.fgb
SUPER_SIMPLIFIED_GAUL_DOWNLOAD_URL: /geodata/super_simple.gaul.gpkg
SUPER_SIMPLIFIED_GAUL_FILE_PATH: /geodata/super_simple.gaul.gpkg
command: /bin/sh -c "uvicorn service:app --host 0.0.0.0 --port 8001 --reload --workers 1"
Loading