Skip to content

Commit 040e072

Browse files
committed
Update env configs - taginfo
1 parent 1440245 commit 040e072

File tree

2 files changed

+12
-17
lines changed

2 files changed

+12
-17
lines changed

envs/.env.taginfo.example

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
1-
#######################################
2-
# Environment variables for taginfo database
3-
#######################################
4-
URL_PLANET_FILE_STATE=https://planet.openhistoricalmap.org.s3.amazonaws.com/planet/state.txt
5-
URL_HISTORY_PLANET_FILE_STATE=https://planet.openhistoricalmap.org.s3.amazonaws.com/planet/full-history/state.txt
6-
URL_PLANET_FILE=https://planet.openhistoricalmap.org.s3.amazonaws.com/planet/planet-200526_0000.osm.pbf
7-
URL_HISTORY_PLANET_FILE=https://planet.openhistoricalmap.org.s3.amazonaws.com/planet/full-history/history-200526_0000.osh.pbf
8-
INSTANCE_URL=http://localhost:4567
9-
INSTANCE_NAME="OHM Taginfo"
10-
INSTANCE_DESCRIPTION="This is a <b>taginfo test instance</b>. Change this text in your <tt>taginfo-config.json</tt>."
11-
INSTANCE_ICON=https://www.openhistoricalmap.org/assets/ohm_logo-2d97749faddd5bd051d846ed1be0544aa7c92422b673eb43d2fd6edf3428986d.svg
12-
INSTANCE_CONTACT= "Anonymous"
1+
URL_PLANET_FILE_STATE=https://s3.amazonaws.com/osm-seed.org/planet/state.txt
2+
URL_HISTORY_PLANET_FILE_STATE=https://s3.amazonaws.com/osm-seed.org/planet/full-history/state.txt
3+
URL_PLANET_FILE='none'
4+
URL_HISTORY_PLANET_FILE='none'
5+
TIME_UPDATE_INTERVAL=7d
136
TAGINFO_PROJECT_REPO=https://github.com/OpenHistoricalMap/taginfo-projects.git
147
DOWNLOAD_DB='languages wiki'
158
CREATE_DB='db projects chronology'
16-
TAGINFO_DB_BASE_URL=https://planet.openhistoricalmap.org.s3.amazonaws.com/taginfo
17-
AWS_S3_BUCKET=planet-staging.openhistoricalmap.org
18-
ENVIRONMENT=staging
19-
FETCH_DB_FILES=true
9+
ENVIRONMENT=production
10+
INTERVAL_DOWNLOAD_DATA=7d
11+
FETCH_DB_FILES=false
12+
TAGINFO_DB_BASE_URL=https://osm-seed.s3.amazonaws.com/taginfo/staging
13+
AWS_S3_BUCKET=osm-seed
14+

images/taginfo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Copy [`.env.taginfo.example`](./../../envs/.env.taginfo.example) to `.env.taginf
1414

1515
### Database Configuration
1616
- `TAGINFO_DB_BASE_URL`: Base URL to download SQLite database files. Downloads: projects-cache.db, selection.db, taginfo-chronology.db, taginfo-db.db, taginfo-history.db, taginfo-languages.db, taginfo-master.db, taginfo-projects.db, taginfo-wiki.db, taginfo-wikidata.db
17-
- Example: `https://planet.openhistoricalmap.org.s3.amazonaws.com/taginfo`
17+
- Example: `https://osm-seed.org.s3.amazonaws.com/taginfo`
1818

1919
- `DOWNLOAD_DB`: Which databases to download (e.g., `languages wiki` or `languages wiki projects chronology`)
2020

0 commit comments

Comments
 (0)