File tree Expand file tree Collapse file tree 4 files changed +13
-10
lines changed
Expand file tree Collapse file tree 4 files changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ HEALTHCHECK --interval=1m --timeout=1m --start-period=2m --retries=1 CMD /app/en
4040RUN date > /build-time.txt
4141
4242COPY docker-scripts/ /app/docker-scripts/
43+ COPY server-scripts/ /app/server-scripts/
4344COPY entrypoint.sh /app/entrypoint.sh
45+ COPY entrypoint-kf2.sh /app/entrypoint-kf2.sh
4446
4547ENTRYPOINT ["/bin/bash" , "./entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -10,14 +10,14 @@ services:
1010 environment :
1111 - LGSM_PASSWORD=${LGSM_PASSWORD}
1212 - SSH_KEY=${SSH_KEY}
13- - KF2_WEBADMIN=${KF2_WEBADMIN:false}
13+ - KF2_WEBADMIN=${KF2_WEBADMIN:- false}
1414 ports :
15- - " ${KF2_GAME_PORT}:7777/udp" # Game Port (UDP) - Puerto principal del juego
16- - " ${KF2_QUERY_PORT}:27015/udp" # Query Port (UDP) - Steam Master Server
17- - " ${KF2_WEBADMIN_PORT}:8080/tcp" # Web Admin (TCP) - Panel de administración web
18- - " ${KF2_STEAM_PORT}:20560/udp" # Steam Port (UDP) - Puerto de Steam
19- - " ${KF2_NTP_PORT}:123/udp" # NTP Port (UDP) - Weekly Outbreak only
20- - " ${SSH_PORT}:22/tcp" # SSH Port (TCP) - Para acceso SSH
15+ - " ${KF2_GAME_PORT}:7777/udp"
16+ - " ${KF2_QUERY_PORT}:27015/udp"
17+ - " ${KF2_WEBADMIN_PORT}:8080/tcp"
18+ - " ${KF2_STEAM_PORT}:20560/udp"
19+ - " ${KF2_NTP_PORT}:123/udp"
20+ - " ${SSH_PORT}:22/tcp"
2121
2222volumes :
2323 dev_data :
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ services:
1212 - SSH_PORT=${SSH_PORT}
1313 - KF2_GAME_PORT=${KF2_GAME_PORT}
1414 - KF2_QUERY_PORT=${KF2_QUERY_PORT}
15- - KF2_WEBADMIN=${KF2_WEBADMIN:false}
15+ - KF2_WEBADMIN=${KF2_WEBADMIN:- false}
1616 - KF2_WEBADMIN_PORT=${KF2_WEBADMIN_PORT}
1717
1818volumes :
Original file line number Diff line number Diff line change @@ -8,9 +8,10 @@ services:
88 environment :
99 - LGSM_PASSWORD=${LGSM_PASSWORD}
1010 - SSH_KEY=${SSH_KEY}
11- - KF2_WEBADMIN=${KF2_WEBADMIN:false}
11+ - SSH_PORT=${SSH_PORT}
12+ - KF2_WEBADMIN=${KF2_WEBADMIN:-false}
1213 ports :
13- - " ${SSH_PORT:-22}:22 /tcp"
14+ - " ${SSH_PORT:-22}:${SSH_PORT:-22} /tcp"
1415 - " ${KF2_GAME_PORT:-7777}:${KF2_GAME_PORT:-7777}/udp"
1516 - " ${KF2_QUERY_PORT:-27015}:${KF2_QUERY_PORT:-27015}/udp"
1617 - " ${KF2_WEBADMIN_PORT:-8080}:${KF2_WEBADMIN_PORT:-8080}/tcp"
You can’t perform that action at this time.
0 commit comments