-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
51 lines (44 loc) · 1.98 KB
/
Copy path.env.example
File metadata and controls
51 lines (44 loc) · 1.98 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
# -----------------------------------------------------------------------------
# Example environment variables for this project.
#
# 1. Copy this file to ".env" in the root of the project:
# cp .env.example .env
#
# 2. Fill in the appropriate values for your environment.
#
# 3. Do NOT commit your ".env" file to version control.
# Only commit this example file.
# -----------------------------------------------------------------------------
# General props
# "dev" runs the API with live-reloading and the UI with hot-reloading for
# convenience. "prod" focuses on performance and stability.
ENVIRONMENT=dev # must be "dev" or "prod"
# Options
FEED_POLL_INTERVAL=120 # minutes between refreshes of podcast metadata
# API location
# These props don't need to be changed if you're using Docker. In development
# mode, the Vite UI listens for requests on the UI port and proxies calls to
# the API as needed. Production mode does the same except using nginx.
API_PORT=80
API_URL="http://podfish-api" # used for proxy pass from UI to API; exclude port
# UI location
# This is the port and URL your app runs on. There's no need to change these
# when running locally, but you'll likely want to change them in production.
UI_PORT=8080
UI_URL="http://localhost" # used when setting cookies; exclude port
# Security
AUTH_KEY="change-this-to-a-secret-key-over-32-bytes" # used for sessions
BCRYPT_COST=14 # bigger numbers are more secure, but slow down sign in/up
USES_TLS=false # use if you have HTTPS; sets cookie flags and HTTP headers
# DB + Cache
# These props don't need to be changed if you're using Docker, though there
# may be a security benefit to setting your own passwords depending on your
# hosting strategy. If you're not using Docker, customize for your setup.
POSTGRES_DB=podfish
POSTGRES_HOST=podfish-postgres
POSTGRES_USER=podfish
POSTGRES_PASSWORD=podfish
REDIS_HOST=podfish-redis
REDIS_PASSWORD=redis
# File storage
RSS_DATA_DIR=/rss-data # directory for storing/serving podcast cover images