-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.env.example
More file actions
71 lines (71 loc) · 2.59 KB
/
.env.example
File metadata and controls
71 lines (71 loc) · 2.59 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# This is a sample .env file that can be used for local development.
ORIGINS="http://localhost http://localhost:3000 http://127.0.0.1 http://127.0.0.1:3000"
HOSTNAME=localhost
WFWX_AUTH_URL=https://somewhere
WFWX_BASE_URL=https://somewhere
WFWX_USER=someusear
WFWX_SECRET=somesecret
WFWX_MAX_PAGE_SIZE=1000
KEYCLOAK_PUBLIC_KEY=thisispublickey
KEYCLOAK_CLIENT=client
# POSTGRES_WRITE_HOST=host.docker.internal
POSTGRES_WRITE_HOST=db
POSTGRES_READ_HOST=db
POSTGRES_READ_USER=wpsread
POSTGRES_WRITE_USER=wps
POSTGRES_PASSWORD="wps"
POSTGRES_DATABASE="wps"
POSTGRES_PORT="5432"
PORT="8080"
OPENSHIFT_BASE_URI=https://console.pathfinder.gov.bc.ca:8443
STATUS_CHECKER_SECRET=somesecret
AUTO_MAKE_FIXTURES=False
STATIC_FOLDER=static
ROCKET_AUTH_TOKEN=sometoken
ROCKET_USER_ID=someid
ROCKET_URL_POST_MESSAGE=https://somewhere/api/v1/chat.postMessage
ROCKET_CHANNEL=somechannel
PYTHONPYCACHEPREFIX=python_cache
MAX_WEEKS_C_HAINES=26
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_USE=True
REDIS_PASSWORD=
REDIS_STATION_CACHE_EXPIRY=604800
# cache auth token for real long on local. let's try find the expired auth token condition.
REDIS_AUTH_CACHE_EXPIRY=604800
# cache dailies for an hour on your local machine pls. reduces load on wf1api.
REDIS_DAILIES_BY_STATION_CODE_CACHE_EXPIRY=3600
# cache data downloaded from environment canada.
REDIS_CACHE_ENV_CANADA=True
# cache data downloaded from NOAA
REDIS_CACHE_NOAA=True
# how long to cache data download from environment canada for.
REDIS_ENV_CANADA_CACHE_EXPIRY=21600
REDIS_NOAA_CACHE_EXPIRY=21600
# c-haines tiff output is a feature that's useful for debugging - not intended to be set to true anywhere
# other than on a developers machine.
C_HAINES_OUTPUT_TIFF=False
CLASSPATH=/somewhere/wps/api/libs/REDapp_Lib.jar:/somewhere/wps/api/libs/WTime.jar:/somewhere/wps/api/libs/hss-java.jar
SFMS_SECRET=somesecret
NATS_STREAM_PREFIX=local
NATS_SERVER=localhost
DEM_NAME=dem_mosaic_250_max.tif
TPI_DEM_NAME=bc_dem_50m_tpi.tif
CLASSIFIED_TPI_DEM_NAME=bc_dem_50m_tpi_win100_classified.tif
CLASSIFIED_TPI_DEM_FUEL_MASKED_NAME=bc_dem_50m_tpi_win100_classified_fuel_masked.tif
SENTRY_DSN=some_dsn
DOCKER_HOST=unix:///Users/<you>/.docker/run/docker.sock
DATA_RETENTION_THRESHOLD=358
EARTHDATA_USERNAME=test
EARTHDATA_PASSWORD=test
#### Object Store
OBJECT_STORE_SERVER=object_store_server
OBJECT_STORE_USER_ID=object_store_user
OBJECT_STORE_SECRET=object_store_secret
OBJECT_STORE_BUCKET=object_store_bucket
GRIB_RETENTION_THRESHOLD=2
WX_OBJECT_STORE_SERVER=wx_object_store_server
WX_OBJECT_STORE_USER_ID=wx_object_store_server
WX_OBJECT_STORE_SECRET=wx_object_store_server
WX_OBJECT_STORE_BUCKET=wx_object_store_server