This commit is contained in:
parent
8b738362ff
commit
1f23ae0992
2 changed files with 23 additions and 1 deletions
|
@ -6,6 +6,7 @@ RUN apt-get update -qq && apt-get install -qq libmariadb3 --no-install-recommend
|
|||
|
||||
COPY ./DarkflameServer/build /app
|
||||
COPY ./start.sh /app/
|
||||
COPY ./masterconfig.ini /app/
|
||||
|
||||
RUN chmod +x /app/start.sh
|
||||
|
||||
|
@ -16,4 +17,4 @@ ENV MAX_CLIENTS 999
|
|||
ENV TEAM_LOOT 1
|
||||
ENV CLIENT_VERSION 171022
|
||||
|
||||
ENTRYPOINT [ "start.sh" ]
|
||||
ENTRYPOINT [ "/app/start.sh" ]
|
||||
|
|
21
masterconfig.ini
Normal file
21
masterconfig.ini
Normal file
|
@ -0,0 +1,21 @@
|
|||
# The internal ip of the master server
|
||||
master_ip=localhost
|
||||
|
||||
# Port number
|
||||
port=2000
|
||||
|
||||
# The port number to start world servers on. Will be incremented for each world
|
||||
world_port_start=3000
|
||||
|
||||
# Use sudo when launching the auth server.
|
||||
# Required by default if on Linux as auth runs on port 1001
|
||||
use_sudo_auth=0
|
||||
|
||||
# Use sudo when launching the chat server
|
||||
use_sudo_chat=0
|
||||
|
||||
# Use sudo when launching world servers
|
||||
use_sudo_world=0
|
||||
|
||||
# 0 or 1, should autostart auth, chat, and char servers
|
||||
prestart_servers=1
|
Loading…
Reference in a new issue