-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
32 lines (26 loc) · 928 Bytes
/
Copy path.env.example
File metadata and controls
32 lines (26 loc) · 928 Bytes
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
# --- PostgreSQL Database ---
POSTGRES_USER=myuser
POSTGRES_PASSWORD=mypassword
POSTGRES_PORT=5432
DB_NAME=file_manager_development
DB_NAME_TEST=file_manager_test
DATABASE_URL=postgres://myuser:mypassword@db:5432/file_manager_development
# --- Redis ---
REDIS_PORT=6379
# --- MinIO Object Storage ---
MINIO_ACCESS_KEY_ID=my_access_key
MINIO_SECRET_ACCESS_KEY=my_secret_key
MINIO_PORT=9000
MINIO_REGION=us-east-1
# Internal: Used by Rails backend to talk to MinIO inside Docker
MINIO_INTERNAL_ENDPOINT=http://minio-file-manager:9000
MINIO_ENDPOINT=http://minio-file-manager:9000
# Public: Used when generating clickable URLs for your browser
MINIO_PUBLIC_ENDPOINT=http://localhost:9000
# --- App & Docker Configuration ---
APP_PORT=3000
CUSTOM_NETWORK_SUBNET=172.20.0.0/16
SECRET_KEY=secret_key
EXPIRATION_TIME_MINUTES=15
# Synchronous upload window in seconds (create endpoint). Bump for large videos.
REQUEST_TIMEOUT=300