forked from openstreetmap/openstreetmap-website
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hopefully the final commit for these files. My choices try to address…
… two pressures. It is easier to track upstream changes to openstreetmap-website when there's less potential for merge conflicts. settings.yml is now identical to upstream and all OHM modifications are made in settings.local.yml; that file is not checked in to source control but a fleshed-out skeleton is available at example.settings.local.yml. What information is in there is publicly available with the exception of OAuth IDs, and those are generated per installation. These two files should be identical to those in images/web/config/ of the ohm-deploy repo and they are manipulated by the start.sh script in the parent directory. Those scripts have been modified so that they use the proper settings file for variable substitution.
- Loading branch information
1 parent
02336bb
commit 1b89610
Showing
2 changed files
with
34 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,31 @@ | ||
# Local overrides and secrets | ||
# OHM overrides and secrets | ||
# These settings are for local, Docker-based development | ||
# OAuth keys are generated at installation time; see CONFIGURE.md | ||
server_url: "0.0.0.0:3000" | ||
server_url: "0.0.0.0:3000" | ||
embed_server_url: "https://embed.openhistoricalmap.org/" | ||
generator: "OpenHistoricalMap server" | ||
copyright_owner: "OpenHistoricalMap and contributors" | ||
attribution_url: "http://www.openhistoricalmap.org/copyright" | ||
support_email: "[email protected]" | ||
email_from: "OpenHistoricalMap <[email protected]>" | ||
email_return_path: "[email protected]" | ||
api_timeout: 600 | ||
web_timeout: 600 | ||
# OAuth application for the web site | ||
nominatim_url: "https://nominatim.openhistoricalmap.org/" | ||
# OAuth application for the website | ||
oauth_application: "" | ||
oauth_key: "" | ||
# OAuth consumer key for iD | ||
id_application: "" | ||
imagery_blacklist: | ||
# Current Google imagery URLs have google or googleapis in the domain | ||
- ".*\\.google(apis)?\\..*/.*" | ||
# Blacklist VWorld | ||
- "http://xdworld\\.vworld\\.kr:8080/.*" | ||
# Blacklist here | ||
- ".*\\.here\\.com[/:].*" | ||
# Mastodon url for verification | ||
mastodon_url: "https://mapstodon.space/@ohm" | ||
smtp_authentication: null | ||
smtp_user_name: null | ||
smtp_password: null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters