-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathconfig.ptr.sh.example
83 lines (75 loc) · 3.2 KB
/
config.ptr.sh.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#!/bin/bash
# This is the PUBLIC IP address you want your server to be
# accessible from.
#
# A value of 127.0.0.1 means your local computer ONLY. This
# address cannot be reached from anywhere else, even your
# local network.
#
# If you want to be able to reach your server via
# the PUBLIC INTERNET, then you *must* use an Internet routable
# IP address. This is more complex and requires you to
# understand basic networking concepts like routing and IPv4.
export AZEROTHCORE_SERVER_REMOTE_ENDPOINT="127.0.0.1"
# This IP address is the LOCAL IP address AzrothCore's
# components will listen for connections on. This (probably)
# Isn't your PUBLIC IP address. It's going to be a value
# like 127.0.0.1, 192.168.88.X, or 0.0.0.0.
#
# A value of 127.0.0.1 means your local computer ONLY. This
# address cannot be reached from anywhere else, even your
# local network.
#
# A value of 0.0.0.0 means the server will bind to ANY and
# ALL IP addresses on your system, including 127.0.0.1. This
# is ideal if you want to be able to access the server from
# your local PC and other systems on the local area network.
#
# If you have specific IP attached to your computer that you
# want to use, like "192.168.88.10", then use that. This
# means local clients must set their realmlist IPs to that
# address (or DNS that resolve to it.)
export AZEROTHCORE_SERVER_BIND_IP="127.0.0.1"
# This defines the parent directory that will contain everything
# that's built, installed, and more. The end result is a path
# like "/home/mike/azerothcore_servers/...". You can change
# this if you don't like that path name.
export AZEROTHCORE_INSTALL_PARENT_DIR=azerothcore_servers
# !!!
# You can probably ignore everything below this point
# !!!
export AZEROTHCORE_SOURCE_DIR="azerothcore-ptr"
export AZEROTHCORE_SOURCE_BRANCH="master"
export AZEROTHCORE_SERVER_DIR="azerothcore-ptr-server"
export AZEROTHCORE_SERVER_BACKUPS_DIR="azerothcore-ptr-server-backups"
export DATABASE_LOCK_DIR="${HOME}/${AZEROTHCORE_INSTALL_PARENT_DIR}/${AZEROTHCORE_SERVER_DIR}/locks/"
export AZEROTHCORE_SERVER_REALM_NAME="AzerothCore PTR"
export AZEROTHCORE_SERVER_BIND_PORT=8086
export AZEROTHCORE_SERVER_LOCAL_SUBNETMASK="255.255.255.0"
export AZEROTHCORE_AUTH_DATABASE="acore_auth"
export AZEROTHCORE_WORLD_DATABASE="acore_world_ptr"
export AZEROTHCORE_CHARACTERS_DATABASE="acore_characters_ptr"
# Modules
export AZEROTHCORE_MODULES=(
"module mod-eluna master https://github.com/azerothcore/mod-eluna.git"
"module mod-autobalance master https://github.com/azerothcore/mod-autobalance.git"
"module mod-solo-lfg master https://github.com/azerothcore/mod-solo-lfg.git"
)
# Behaviour flags
export DB_CREATE=true
export DB_MANAGE_AUTH=false # use existing auth for PTR
export DB_MANAGE_WORLD=true
export DB_MANAGE_CHARACTERS=true
export RUN_OS=false # don't manage on PTR runs
export RUN_FIREWALL=false # don't manage on PTR runs
export RUN_AZEROTHCORE_SOURCE=true
export RUN_AZEROTHCORE_DATABASE=true
export RUN_AZEROTHCORE_DATA=true
export RUN_AZEROTHCORE_MODULES=true
export RUN_AZEROTHCORE_COMPILE=true
export RUN_AZEROTHCORE_CONFIGS=true
export RUN_AZEROTHCORE_WORLDSERVER_RUN=true
export RUN_IMPORT_SQL=true
export RUN_SYSTEMD=true
# Internal variables
export WHERE_WAS_I=$(pwd)