-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.conf.example
More file actions
51 lines (45 loc) · 2.08 KB
/
setup.conf.example
File metadata and controls
51 lines (45 loc) · 2.08 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
# esoBB Bootstrap configuration — copy to e.g. myforum.conf and edit, then:
# sudo ./setup.sh --config myforum.conf
#
# This file is sourced as shell, so it must be valid shell assignments
# (no spaces around '=', quote values). CLI flags override anything here.
#
# Any value below (except CFG_SOURCE and CFG_DOMAIN) may include <Nrand>
# tokens, replaced at runtime with N lowercase alphanumeric characters.
# <rand> alone defaults to 8. Example: CFG_DB_NAME="myforum_<8rand>".
# --- required -------------------------------------------------------------
# esoBB source. Either:
# - a local path to an esoBB checkout (with index.php + install/), or
# - a direct http(s):// URL to a .tar.gz / .tgz / .zip of the source.
# The current canonical URL is published in the geteso.org install guide.
# Examples:
# CFG_SOURCE="/usr/local/src/esoBB"
# CFG_SOURCE="https://example.org/esoBB.tar.gz"
CFG_SOURCE="/usr/local/src/esoBB"
CFG_DOMAIN="forum.example.com"
# Absolute path to the forum's document root (required).
CFG_FORUM_ROOT="/var/www/eso"
# --- deployment -----------------------------------------------------------
# Web server: nginx or apache.
WEB_SERVER="nginx"
# --- database -------------------------------------------------------------
# Leave name/user empty to auto-generate as esodb_<random> /
# esouser_<random> (recommended: avoids collisions when running multiple
# forums on the same host).
CFG_DB_NAME=""
CFG_DB_USER=""
CFG_DB_HOST="localhost"
# Leave empty to auto-generate a strong password (recommended).
CFG_DB_PASS=""
# --- TLS / Let's Encrypt --------------------------------------------------
# Email registered with Let's Encrypt. Required when TLS is on; omit if
# you set SKIP_SSL=1 below.
CFG_LE_EMAIL="you@example.com"
# Set to 1 to use the Let's Encrypt staging environment (for testing).
CFG_LE_STAGING=0
# Set to 1 to skip certbot entirely and serve plain HTTP.
# SKIP_SSL=1
# --- source fetch (only relevant when CFG_SOURCE is a URL) ----------------
# Set to 1 to force re-download even if /var/cache/esoBB-bootstrap/source
# already has a valid checkout.
# REFRESH_SOURCE=1