-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.template
112 lines (82 loc) · 3.12 KB
/
.env.template
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
# These values are defaults/examples
# For production, these values should be changed, and the file copied and renamed to '.env'
################################################
# Mandatory section, please change all of these!
################################################
# System users for UI access
# The admin user will be used to create, update, delete any hardware, team, or user though the system UI
ADMIN_USER=root
ADMIN_PASSWORD=shroot
# DB credentials
DB_USER=folding_user
DB_PASSWORD=shroot
# SSL configuration
# An SSL certificate will be generated by the backend container, this will be its password
KEYSTORE_PASSWORD=shroot
# URL/IP address of the backend, used by the frontend to access the REST endpoints
REST_ENDPOINT_URL=https://my.backend.com/folding
# The following are for frontend UI
# Event title for your own team
# If there are spaces and you are deploying on Windows, you might need to quote this value
TITLE=MyTeamFoldingTitle
# Link to your own team forum
FORUM_LINK=https://my.forum.com/folding/link
# The root URL/IP address for the site
ROOT_URL=https://my.frontend.com
# Contact details
CONTACT_NAME=admin
############################################
# System Configuration
#
# The default settings below should be fine,
# but feel free to play around with them
############################################
# Enables the automatic update of user stats
STATS_ENABLED=true
# If enabled, the system will update hardware PPD/multipliers from LARS
ENABLE_LARS_HARDWARE_UPDATE=true
# If enabled, the system will save the current month's stats
ENABLE_MONTHLY_RESULT_STORAGE=true
# If enabled, the system will reset stats for all users
ENABLE_STATS_MONTHLY_RESET=true
# Category parameters
# Defines the number of users permitted per category
# Also impacts the total size of a team (since team size is defined as the total number of users for all categories)
USERS_IN_AMD_GPU=1
USERS_IN_NVIDIA_GPU=1
USERS_IN_WILDCARD=1
# Stats Config
SECONDS_BETWEEN_HTTP_REQUEST_ATTEMPTS=15
MAXIMUM_HTTP_REQUEST_ATTEMPTS=5
########################
# Frontend Configuration
########################
# The read-only user will be able to view hardware/teams/users, but not make any changes
READ_ONLY_USER=root2
READ_ONLY_PASSWORD=shroot2
# Port to expose the frontend (not the internal port)
HTTPS_FRONTEND_PORT=443
#######################
# Backend Configuration
#######################
# Port to expose the backend (not the internal port)
HTTPS_BACKEND_PORT=8443
# Memory
JAVA_XMS=512m
JAVA_XMX=2g
########################
# Database Configuration
########################
# These values are assuming the `database` container is running PostgreSQL
# If you have changed the container (or are not using a container), these may need to be removed/updated
# DB parameters
POSTGRES_DB_NAME=folding_db
POSTGRES_PORT=5432
############################
# External URL Configuration
############################
# The URL for the LARS DB to retrieve the latest PPD information
LARS_URL_ROOT=https://folding.lar.systems
# The URL to the Folding@Home donor stats REST endpoint
STATS_URL_ROOT=https://api2.foldingathome.org