feat(global): add server management webui
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user