forked from dGr8LookinSparky/planet_quake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.txt
45 lines (34 loc) · 911 Bytes
/
Dockerfile.txt
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
FROM node:4
MAINTAINER patdohere
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY quakejs /usr/src/app
RUN npm install
COPY run.sh /usr/src/app
EXPOSE 27960
# Main
ENV QJS_FS_GAME="baseq3"
ENV QJS_DEDICATED="1"
ENV QJS_SERVER_CONFIG="server.cfg"
# Server
ENV QJS_SV_HOSTNAME="QAWS Server"
ENV QJS_SV_MAXCLIENTS="10"
ENV QJS_RCONPASSWORD="qaws"
# Game
# Game mode 0 (DM), 1 (T), 3 (TDM), 4 (CTF)
ENV QJS_G_GAMETYPE="0"
# Maps
# 0 q3dm1, q3dm7, q3dm17, q3tourney2, pro-q3tourney2, pro-q3tourney4, pro-q3dm6, pro-q3dm13
# 1 q3dm1, q3tourney2, pro-q3tourney2, pro-q3tourney4, pro-q3dm6, pro-q3dm13
# 3 q3dm7, pro-q3tourney2, pro-q3tourney4, pro-q3dm6, pro-q3dm13
# 4 q3tourney6_ctf
ENV QJS_MAP="q3dm7"
ENV QJS_CAPTURELIMIT="8"
ENV QJS_FRAGLIMIT="10"
ENV QJS_TIMELIMIT="10"
# Bots
# Number of bots, 1-5
ENV QJS_BOT_MINPLAYERS="4"
# Bot difficulty 1-5
ENV QJS_BOT_SKILL="1"
CMD ["/bin/bash", "run.sh"]