-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.template
More file actions
206 lines (175 loc) · 8.56 KB
/
.env.template
File metadata and controls
206 lines (175 loc) · 8.56 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
### All environment variables are REQUIRED, unless specified otherwise.
EVERYTHING_SQLITE_LOCATION="/path/to/everything.db"
# External - public facing API
# Port forward or reverse proxy this port to have the public view accessible.
EVERYTHING_SERVER_PORT_EXTERNAL=3000
# Internal - private API for personal management of the database.
# Do NOT port forward or reverse proxy this API, as it is not password
# protected.
EVERYTHING_SERVER_PORT_INTERNAL=3001
# The string used to identify yourself when making calls to external services.
# It's strongly recommended you set this, as you may otherwise be blocked.
# Something similar to: "my quantified-self data archive <my@email.address>"
EVERYTHING_VERSION_STRING=""
# Most endpoints will use the device provided in the API key, however some
# internal endpoints and functions don't, so they will use the device ID present
# in this variable.
EVERYTHING_DEFAULT_DEVICE_ID=""
# The URL at which the external server is accessible from.
# Be sure to take into account a reverse proxy, if you are using one. Rather
# than an IP address and port, it may likely be available at a specific domain.
# Note: Please DO NOT add a trailing slash
EVERYTHING_SERVER_EXTERNAL_URI="http://localhost:3000"
# Similar to the variable above, this is the URL pointing to the internal server
# and, as previously mentioned, should only be accessible behind a firewall, and
# NOT accessible to the internet.
EVERYTHING_SERVER_INTERNAL_URI="http://localhost:3001"
# This is displayed on every page, and used as metadata too.
EVERYTHING_PERSON_NAME="Your Name"
# Add HTML to the bottom of each page.
# Useful for custom analytics code
EVERYTHING_FOOTER_HTML=""
# Cache common pages like the index page, /music, /games, etc. in memory, in
# order to prevent database load.
# Use "0" to disable caching
EVERYTHING_SERVER_CACHE_DURATION_SECS="900"
EVERYTHING_SERVER_CACHE_INTERVAL_SECS="900"
# Google API polling:
# Set POLL_INTERVAL to "0" to disable polling.
# Requires that the provided API key and client have access to the YouTube API.
# See: https://console.cloud.google.com/apis/credentials
EVERYTHING_GOOGLE_POLL_INTERVAL="5"
EVERYTHING_GOOGLE_CLIENTID=""
EVERYTHING_GOOGLE_CLIENTSECRET=""
EVERYTHING_GOOGLE_TOKENFILE="data/google-tokens.json"
EVERYTHING_GOOGLE_APIKEY=""
# For checking in, you can use the Places API. Set this to "true" to enable.
# CAUTION: the use of this API requires a billing account and you may be charged
# Your API key needs access to the Places API on the Google Cloud Console.
EVERYTHING_GOOGLE_PLACESAPI_ENABLED="false"
# A comma-separated list of categories to be ignored when searching for nearby
# places. You can find a list of categories on the page linked below.
# NOTE - Only use values from Table A:
# https://developers.google.com/maps/documentation/places/web-service/place-types?hl=en#table-a
EVERYTHING_GOOGLE_PLACESAPI_CATEGORIES_IGNORED="bus_stop,bus_station,transit_station,atm"
# Steam API polling for game activity
# Set POLL_INTERVAL to "0" or leave other fields blank to disable polling
# See: https://developer.valvesoftware.com/wiki/Steam_Web_API#GetRecentlyPlayedGames_(v0001)
# Get an API Key from here: https://steamcommunity.com/dev/apikey
EVERYTHING_STEAM_POLL_INTERVAL="10"
EVERYTHING_STEAM_APIKEY=""
EVERYTHING_STEAM_USERID=""
EVERYTHING_STEAM_DATA_FILE="data/steam-activity.json"
EVERYTHING_STEAM_DEVICE_ID=""
# Used to fetch images for PSN and RetroAchievement games,
# which match the same dimensions as Steam
EVERYTHING_STEAMGRIDDB_APIKEY=""
# PSN API polling for game activity
# Set POLL_INTERVAL to "0" to disable polling
EVERYTHING_PSN_NPSSO=""
EVERYTHING_PSN_POLL_INTERVAL="5"
EVERYTHING_PSN_DATA_FILE="data/psn-activity.json"
EVERYTHING_PSN_DEVICE_ID=""
# RetroAchievements API polling for emulator game activity
# Set POLL_INTERVAL to "0" to disable polling
EVERYTHING_RETROACHIEVEMENTS_USERNAME=""
EVERYTHING_RETROACHIEVEMENTS_APIKEY=""
EVERYTHING_RETROACHIEVEMENTS_POLL_INTERVAL="60"
EVERYTHING_RETROACHIEVEMENTS_DEVICE_ID=""
# Monzo Webhooks
# Used to validate webhook is set up properly
# See: https://docs.monzo.com/#webhooks
# See: https://developers.monzo.com/
# Optional (unless you set up a webhook, in which case it's required).
EVERYTHING_MONZO_ACCOUNT_ID=""
# Subsonic API - for manual album scrobbling
# (useful when listening to physical media)
# Leave blank to disable.
EVERYTHING_SUBSONIC_URL=""
EVERYTHING_SUBSONIC_USERNAME=""
EVERYTHING_SUBSONIC_PASSWORD=""
# Sonarr API - for tracking TV shows
# Your API key can be found at `/settings/general` on your Sonarr instance.
# Leave blank to disable.
EVERYTHING_SONARR_URL=""
EVERYTHING_SONARR_APIKEY=""
# Letterboxd - for tracking films
# Just your username, it uses the Letterboxd RSS to fetch new films
# Leave USERNAME blank, or set POLL_INTERVAL_SECS to "0" to disable.
EVERYTHING_LETTERBOXD_USERNAME=""
EVERYTHING_LETTERBOXD_DATA_FILE="data/letterboxd.json"
EVERYTHING_LETTERBOXD_POLL_INTERVAL_SECS="86400"
# TMDB - for fetching films' backdrop images
# Leave this blank to turn off image fetching
# See: https://www.themoviedb.org/settings/api
EVERYTHING_TMDB_ACCESS_TOKEN=""
# Discord Bot
# Both variables are required, otherwise the bot will not be enabled.
# You can get a token from here: https://discord.com/developers/applications
EVERYTHING_DISCORD_TOKEN=""
EVERYTHING_DISCORD_CHANNELID=""
# Geocoder
# Used for determining the city/state you're currently located in.
# Not at all required for location history, unless you wish to display it on the
# homepage dashboard.
EVERYTHING_GEOCODER_ENABLED="true"
EVERYTHING_GEOCODER_CACHE_PATH="data/geocoder.json"
# Bluesky post syndication
# Makes a copy of any public posts you make on Bluesky
# To turn off, leave USERNAME blank, or set POLL_INTERVAL_MINS to "0"
# Username should be your DID code (eg. "did:plc:...")
EVERYTHING_BLUESKY_USERNAME=""
EVERYTHING_BLUESKY_DATA_FILE="data/bluesky.json"
EVERYTHING_BLUESKY_POLL_INTERVAL_MINS="120"
EVERYTHING_BLUESKY_INCLUDE_REPLIES="true"
# This is false by default because if someone deletes something you've reposted,
# it won't get removed from your site automatically.
EVERYTHING_BLUESKY_INCLUDE_REPOSTS="false"
# Swarm API - Used to syndicate check-ins
# If ANY of these values are blank, Swarm check-ins will not work.
# 1. Create a Project and Service API Key on the Foursquare console (link below)
# 2. Then, set your Push URL to https://YOUR-URL/api/swarm/push?apiKey=<API-KEY>
# (where "<API-KEY>" is an API key from the devices table)
# 3. Grab the Push Secret and place it here
# 4. Start the server and visit https://YOUR-URL/api/swarm/login
# 5. Check-ins should automatically populate once you check-in on Swarm!
# See: https://foursquare.com/developers/home
EVERYTHING_SWARM_CLIENT_ID=""
EVERYTHING_SWARM_CLIENT_SECRET=""
EVERYTHING_SWARM_PUSH_SECRET=""
EVERYTHING_SWARM_DATA_FILE="data/swarm.json"
# Your Foursquare/Swarm user ID - if a received push event does not match your
# ID it will be rejected. This can be found on the Foursquare Settings page.
# See: "User ID" on https://foursquare.com/settings
EVERYTHING_SWARM_USER_ID=""
# Displays your nearest city on the dashboard. Setting this to "true" will show
# the city, and literally anything else will hide it.
EVERYTHING_LOCATION_DISPLAY=false
# Hides all location related data (checkins, current city) from public view for
# this amount of time, for privacy reasons. The higher the better!
# Default: 1 day (in minutes)
EVERYTHING_LOCATION_DELAY_MINS=1440
# Automatically overrides new checkins as "private" if they are within this
# location (where radius is based on coordinate points).
# Leave any of these three blank to disable
EVERYTHING_LOCATION_PRIVATE_OVERRIDE_LAT=78.235713
EVERYTHING_LOCATION_PRIVATE_OVERRIDE_LONG=15.491050
EVERYTHING_LOCATION_PRIVATE_OVERRIDE_RADIUS=0.01
# kawa is a media conversion server, so images and videos saved from social
# media posts can be compressed and self-hosted. https://git.floof.fm/floof/kawa
# The URL below should point to the server hosting kawa, NOT including the
# `/api/convert` path, as this will be added by Everything.
# Leave blank to disable
EVERYTHING_KAWA_SERVER_URL=""
# The authorization token created when setting up kawa (in its .env file)
EVERYTHING_KAWA_AUTH_TOKEN="some-long-and-complicated-string"
# Set the system timezone.
# Optional by default, BUT necessary if you're using Docker.
TZ="Europe/London"
# Used in `test/Requests.http` and nothing else.
# Generate an API key for a device and plug it here, if you wish to test the API
# using the endpoints in that file.
EVERYTHING_TEST_APIKEY=""
# Makes the dotenv messages upon application launch quiet...
# Including their advertisements!
DOTENV_CONFIG_QUIET=true