Skip to content

Commit

Permalink
Rethinking what settings should be defaults and which should be local.
Browse files Browse the repository at this point in the history
  • Loading branch information
erictheise committed Dec 19, 2024
1 parent 947514b commit 02336bb
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 11 deletions.
11 changes: 11 additions & 0 deletions config/example.settings.local.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Local 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"
api_timeout: 600
web_timeout: 600
# OAuth application for the web site
oauth_application: ""
oauth_key: ""
# OAuth consumer key for iD
id_application: ""
31 changes: 20 additions & 11 deletions config/settings.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
# The server protocol and host
server_protocol: "http"
server_url: "openstreetmap.example.com"
embed_server_url: "https://embed.openhistoricalmap.org/"
# Publisher
#publisher_url: ""
# The generator
generator: "OpenStreetMap server"
copyright_owner: "OpenStreetMap and contributors"
attribution_url: "http://www.openstreetmap.org/copyright"
generator: "OpenHistoricalMap server"
copyright_owner: "OpenHistoricalMap and contributors"
attribution_url: "http://www.openhistoricalmap.org/copyright"
license_url: "http://opendatacommons.org/licenses/odbl/1-0/"
# Support email address
support_email: "openstreetmap@example.com"
support_email: "ohm-admins@googlegroups.com"
# Sender addresses for emails
email_from: "OpenStreetMap <openstreetmap@example.com>"
email_return_path: "openstreetmap@example.com"
email_from: "OpenHistoricalMap <ohm-admins@googlegroups.com>"
email_return_path: "ohm-admins@googlegroups.com"
# API version
api_version: "0.6"
# Application status - possible values are:
Expand Down Expand Up @@ -108,15 +109,21 @@ attachments_dir: ":rails_root/public/attachments"
# List of memcache servers to use for caching
#memcache_servers: []
# URL of Nominatim instance to use for geocoding
nominatim_url: "https://nominatim.openstreetmap.org/"
nominatim_url: "https://nominatim.openhistoricalmap.org/"
# Default editor
default_editor: "id"
# OAuth application for the web site
#oauth_application: ""
# OAuth application for iD
#id_application: ""
# Imagery to return in capabilities as blacklisted
imagery_blacklist: []
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[/:].*"
# URL of Overpass instance to use for feature queries
overpass_url: "https://overpass-api.de/api/interpreter"
overpass_credentials: false
Expand All @@ -142,6 +149,8 @@ fossgis_valhalla_url: "https://valhalla1.openstreetmap.de/route"
#tracestrack_key: ""
# Key for generating TOTP tokens
#totp_key: ""
# Mastodon url for verification
mastodon_url: "https://mapstodon.space/@ohm"
# Enforce Content-Security-Policy
csp_enforce: false
# URL for reporting Content-Security-Policy violations
Expand All @@ -163,9 +172,9 @@ smtp_port: 25
smtp_domain: "localhost"
smtp_enable_starttls_auto: true
smtp_tls_verify_mode: "none"
smtp_authentication: null
smtp_user_name: null
smtp_password: null
smtp_authentication: login
smtp_user_name: ""
smtp_password: ""
# Matomo settings for analytics
#matomo:
# Signup rate limits
Expand Down

0 comments on commit 02336bb

Please sign in to comment.