-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.env
More file actions
59 lines (50 loc) · 1.71 KB
/
config.env
File metadata and controls
59 lines (50 loc) · 1.71 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
# TPEN Services - Default Configuration
# These are safe defaults that can be committed to the repository.
# They work for local development and should not contain secrets.
#
# To use this:
# 1. Copy .env.development to .env for development
# 2. Copy .env.production to .env for production
# 3. Edit .env with environment-specific values
#
# Configuration is loaded via env-loader.js using the dotenv package:
# 1. config.env is loaded first (this file - safe defaults)
# 2. .env.{NODE_ENV} is loaded second (environment-specific: .env.development, .env.production, .env.test)
# 3. .env is loaded last (local/server overrides - HIGHEST PRIORITY)
# Server Configuration
PORT=3011
DOWN=false
# Data Collections (MongoDB collection names)
TPENPROJECTS=projects
TPENGROUPS=groups
TPENUSERS=users
TPENCOLUMNS=columns
# Local Development Database Defaults
# These work out-of-the-box for local Docker/MongoDB/MariaDB
MONGODB=mongodb://localhost:27017
MONGODBNAME=testTpen
MARIADB=localhost
MARIADBNAME=testTpen
MARIADBUSER=tpen_user
MARIADBPASSWORD=tpen_password
# Development External Services
# Safe defaults pointing to development services
RERUMIDPREFIX=https://devstore.rerum.io/v1/id/
TINYPEN=https://tinydev.rerum.io/
# GitHub Static Storage Defaults
REPO_OWNER=CenterForDigitalHumanities
REPO_NAME=TPEN-Static-Dev
BRANCH=main
# Email Configuration Placeholders
SMTP_HOST=smtp.example.com
SMTP_PORT=25
TPEN_SUPPORT_EMAIL=support@example.com
TPEN_EMAIL_CC=admin@example.com
# Server URL (will be overridden in .env for deployments)
SERVERURL=http://localhost:3011
# TPEN Interfaces Namespace
# Wildcard "*" for development, specific URL for production
TPENINTERFACESNAMESPACE=*
# Testing Configuration
TEST_TIMEOUT=5500
DB_TEST_TIMEOUT=5500