Skip to content

Commit 0e6ca0a

Browse files
author
Rub21
committed
Update tasking manager doc and env vars files
1 parent 1e93473 commit 0e6ca0a

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

envs/.env.overpass.example

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#######################################
2+
# Environment variables for overpass api settings
3+
#######################################
4+
OVERPASS_META=yes
5+
OVERPASS_MODE=init
6+
OVERPASS_PLANET_URL=http://download.geofabrik.de/europe/monaco-latest.osm.bz2
7+
OVERPASS_DIFF_URL=http://download.openstreetmap.fr/replication/europe/monaco/minute/
8+
OVERPASS_RULES_LOAD=10

envs/.env-tasking-manager.example renamed to envs/.env.tasking-manager.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ POTLATCH2_EDITOR_URL=https://www.openstreetmap.org/edit?editor=potlatch2
3535
# A freely definable secret. Gives authorization to the front- and and back-end
3636
# to talk to each other.
3737
#
38-
TM_SECRET=s0m3l0ngr4nd0mstr1ng-b3cr34tiv3
38+
TM_SECRET=xyz
3939

4040
# OpenStreetMap OAuth consumer key and secret (required)
4141
#
4242
TM_CONSUMER_KEY=foo
43-
TM_CONSUMER_SECRET=s0m3l0ngr4nd0mstr1ng-b3cr34tiv3
43+
TM_CONSUMER_SECRET=xyz
4444

4545
TM_DEFAULT_CHANGESET_COMMENT="#{osmseed}-project"
4646

images/tasking-manager-api/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# Docker setup for Tasking Manager 4 API
22

33
### Configuration
4-
1. Copy `.env-tasking-manager.example` to `.env-tasking-manager`
4+
1. Copy `./envs/.env.tasking-manager.example` to `./envs/.env.tasking-manager`
55
2. This setup doesn't come with a database container, so you'd have to standup your own. For now.
66
3. Supply appropirate environment variables, particularly OAuth keys and database credentials
77

88

99
### Build and run
1010
* `cd tasking-manager-api`
1111
* `docker build -t osmseed-tasking-manager-api:v1 .`
12-
* `docker run --env-file ../.env-tasking-manager -p "5000:5000" -t osmseed-tasking-manager-api:v1`
12+
* `docker run --env-file ../.env-tasking-manager -p "5000:5000" -t osmseed-tasking-manager-api:v1`
13+

0 commit comments

Comments
 (0)