-
Notifications
You must be signed in to change notification settings - Fork 5
/
example.env
35 lines (30 loc) · 942 Bytes
/
example.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Backend App config
API_DEBUG=1
# Frontend App config
API_BASE_URL=http://127.0.0.1:5000
MAPTILER_API_TOKEN=
CHANGES_UPLOAD_LIMIT=25
MAX_CHALLENGE_AREA=200
MAX_FEATURE_COUNT=1000
MAX_FILE_SIZE=1000000
# DATABASE CONNECTION PARAMETRS
POSTGRES_DB=osm-localizer
POSTGRES_USER=osm
POSTGRES_PASSWORD=osm
POSTGRES_ENDPOINT=localhost
POSTGRES_PORT=5432
# OAuth2 config
OAUTH2_CLIENT_ID=test
OAUTH2_CLIENT_SECRET=test
OAUTH2_REDIRECT_URI=http://127.0.0.1:3000/authorized
OAUTH2_AUTHORIZATION_BASE_URL=https://www.openstreetmap.org/oauth2/authorize
OAUTH2_TOKEN_URL=https://www.openstreetmap.org/oauth2/token
OAUTH2_API_BASE_URL=https://www.openstreetmap.org/api/0.6
OAUTH2_USER_INFO_URL=https://www.openstreetmap.org/api/0.6/user/details.json
OAUTH2_SCOPE=read_prefs write_api
# Create a strong secret key
APP_SECRET_KEY=secret
# Sentry config
# SENTRY_ENVIRONMENT="development"
# SENTRY_BACKEND_DSN="https://"
# SENTRY_FRONTEND_DSN="https://"