Skip to content

Commit

Permalink
Update env vars for web and tm
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Feb 22, 2024
1 parent 49896f1 commit 4ee2fce
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
4 changes: 4 additions & 0 deletions envs/.env.tasking-manager-db.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
POSTGRES_DB=tm
POSTGRES_USER=postgres
POSTGRES_PASSWORD=1234
POSTGRES_PORT=5432
11 changes: 3 additions & 8 deletions envs/.env.tasking-manager.example
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,15 @@ POTLATCH2_EDITOR_URL=https://www.openstreetmap.org/edit?editor=potlatch2
#
TM_SECRET=xyz

# OpenStreetMap OAuth consumer key and secret (required)
#
# OpenStreetMap OAuth 1 consumer key and secret (required)

TM_CONSUMER_KEY=foo
TM_CONSUMER_SECRET=xyz

TM_DEFAULT_CHANGESET_COMMENT="#{osmseed}-project"

# The connection to the postgres database (required)
#
POSTGRES_DB=tm
POSTGRES_USER=postgres
POSTGRES_PASSWORD=tm
POSTGRES_ENDPOINT=localhost
POSTGRES_PORT=5432
POSTGRES_HOST=tmdb

# The address to use as the sender on auto generated emails (optional)
#
Expand Down
14 changes: 11 additions & 3 deletions envs/.env.web.example
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,22 @@ [email protected]
MAILER_PASSWORD=abc...
[email protected]
MAILER_PORT=25
OSM_memcache_servers=""

# Nominatim settings
NOMINATIM_URL=nominatim-api

# Make sure that the first time this (OPENSTREETMAP_id_key) value is empty.
# Once you start you server and create your OAuth 1, fill the value with the Consumer Key.
OPENSTREETMAP_id_key=""
OSM_memcache_servers=""
# Once you start you server and create your OAuth 2.
### Create OAuth 2 applications
### Client ID=OPENSTREETMAP_id_key
OPENSTREETMAP_id_key="xyz..."

### OpenStreetMap Web Site
# Client ID=OAUTH_CLIENT_ID
# Client Secret=OAUTH_KEY
OAUTH_CLIENT_ID="abc..."
OAUTH_KEY="efg..."

# NEW_RELIC settings
# TODO: Needs to be implemented the New Relic functions in order to make running in the web container
Expand Down

0 comments on commit 4ee2fce

Please sign in to comment.