-
Notifications
You must be signed in to change notification settings - Fork 30
/
env.example
68 lines (57 loc) · 2.33 KB
/
env.example
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
#
# Make a copy of this file, rename it to .env
# Set the variables according to your preferences
#
############################# NETWORK CONFIGURATION ##############################
# The IP or domain name of Fitcrack server
FITCRACK_SERVER_HOST="localhost"
# Hostname for Fitcrack WebAdmin
WEBADMIN_HOST=${FITCRACK_SERVER_HOST}
# SSL state of WebAdmin: 'y' or 'n'
SSL_WEBADMIN='n'
# http or https (if SSL_WEBADMIN='y')
WEBADMIN_PROTO=http
# Port for WebAdmin backend (5443 for SSL)
BACKEND_PORT=5000
# Port for WebAdmin frontend (443 for SSL)
FRONTEND_PORT=80
# BOINC server IP
BOINC_HOST=${FITCRACK_SERVER_HOST}
# SSL state of BOINC server: 'y' or 'n'
SSL_BOINC='n'
# http or https (if SSL_BOINC='y')
BOINC_PROTO=http
# BOINC server port (443 for SSL)
BOINC_PORT=80
# NOTE: It is completely OK when BOINC server and WebAdmin frontend run on
# the same port. The BOINC server uses http(s)://HOST/fitcrack* aliases.
# To use different ports, also modify the mapping in docker-compose.yml
# Public key for your domain (if SSL is on)
SSL_CERTIFICATE_FILE="fullchain.pem"
# Private key for your domain (if SSL is on)
SSL_CERTIFICATE_KEYFILE="privkey.pem"
# NOTE: SSL keys should be copied into 'fitcrack-data/certificates' directory
# Certificates are only loaded if SSL_WEBADMIN='y' or SSL_BOINC='y'
##################################################################################
############################# DATABASE CONFIGURATION #############################
# MySQL server hostname
FITCRACK_DB_HOST="localhost"
# MySQL server username
FITCRACK_DB_USER="fitcrack"
# MySQL server password
FITCRACK_DB_PW="mysqlPASSWORD"
# MySQL server database name
FITCRACK_DB_NAME="fitcrack"
##################################################################################
################################ WEBADMIN ACCESS #################################
# Default WebAdmin (and _ops) login
WEBADMIN_LOGIN="fitcrack"
# Default WebAdmin (and _ops) password
WEBADMIN_PW="FITCRACK"
# Default WebAdmin user email
WEBADMIN_EMAIL="[email protected]"
##################################################################################
# Advanced =======================================================================
# Disable if you want to run FE on different hostname. When enabled, allows
# accessing webadmin both via IP and via domain name.
DYNAMIC_BACKEND_URL='y'