feat(global): add server management webui

This commit is contained in:
Luc Duriez
2020-06-04 17:19:41 +02:00
parent 36efe6c703
commit 7e208e2325
4 changed files with 44 additions and 2 deletions

View File

@@ -10,6 +10,12 @@ RUN unzip /opt/tmserver/TrackmaniaServer_2011-02-21.zip -d /opt/tmserver
COPY custom_game_settings.txt /opt/tmserver/GameData/Tracks/MatchSettings/
COPY RunTrackmaniaServer.sh /opt/tmserver/
RUN apt-get -y install apache2 php php-zip php-xml
COPY AdminServ_v2.1.1.zip /var/www/html
RUN unzip /var/www/html/AdminServ_v2.1.1.zip -d /var/www/html
RUN chmod -R 777 /var/www/html/
RUN rm -f /var/www/html/index.html
ARG SERVER_NAME='Trackmania Server'
ARG SERVER_DESC='This is a Trackmania Server'
ARG SERVER_SA_PASSWORD='SuperAdmin'
@@ -23,5 +29,6 @@ EXPOSE 5000/tcp
EXPOSE 2350/tcp
EXPOSE 2350/udp
EXPOSE 3450/tcp
EXPOSE 80/tcp
CMD ["/opt/tmserver/RunTrackmaniaServer.sh"]