Patrick Asmus scriptos
  • Stuttgart, GER
  • http://www.cleveradmin.de
  • I'm a passionate IT person, I love to work on Linux bash, music lover, collect vinyl, a simpsons fan, humorous, love memes of all kinds.

  • Joined on 2023-03-26

trackmania-server (1.0.0)

Published 2026-03-20 21:52:02 +00:00 by scriptos in scriptos/tmserver-docker

Installation

docker pull git.techniverse.net/scriptos/trackmania-server:1.0.0
sha256:d6b818524e75f0722b0a0be94eadf4110fce19d158d4823a6996b1d0a8ee8060

Images

Digest OS / Arch Size
1de859ad56 linux/amd64 113 MiB

Image Layers ( linux/amd64)

# debian.sh --arch 'amd64' out/ 'bullseye' '@1773619200'
RUN /bin/sh -c mkdir /opt/tmserver # buildkit
WORKDIR /opt/tmserver
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends unzip apache2 php php-zip php-xml php-mbstring php-mysql php-curl default-mysql-client && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c a2enmod rewrite && sed -i '/<Directory \/var\/www\/>/,/<\/Directory>/ s/AllowOverride None/AllowOverride All/' /etc/apache2/apache2.conf # buildkit
COPY assets/bin/TrackmaniaServer_2011-02-21.zip /opt/tmserver # buildkit
RUN /bin/sh -c unzip /opt/tmserver/TrackmaniaServer_2011-02-21.zip -d /opt/tmserver && rm -f /opt/tmserver/TrackmaniaServer_2011-02-21.zip # buildkit
COPY assets/config/dedicated_cfg.txt /opt/tmserver/GameData/Config/dedicated_cfg.txt # buildkit
COPY assets/config/custom_game_settings.txt /opt/tmserver/GameData/Tracks/MatchSettings/ # buildkit
RUN /bin/sh -c chmod -R 777 /opt/tmserver/GameData/Config/ # buildkit
RUN /bin/sh -c chown -R www-data:www-data /opt/tmserver/GameData/Tracks/ && chmod -R 755 /opt/tmserver/GameData/Tracks/ # buildkit
RUN /bin/sh -c mkdir -p /opt/tmserver/GameData/Config/AdminServ/ServerOptions && chown -R www-data:www-data /opt/tmserver/GameData/Config/AdminServ # buildkit
RUN /bin/sh -c cp -r /opt/tmserver/GameData /opt/tmserver/default-gamedata # buildkit
COPY assets/bin/RunTrackmaniaServer.sh /opt/tmserver/ # buildkit
RUN /bin/sh -c sed -i 's/\r$//' /opt/tmserver/RunTrackmaniaServer.sh && chmod +x /opt/tmserver/RunTrackmaniaServer.sh # buildkit
COPY assets/bin/AdminServ_v2.1.1.zip /var/www/html # buildkit
RUN /bin/sh -c unzip /var/www/html/AdminServ_v2.1.1.zip -d /var/www/html && rm -f /var/www/html/AdminServ_v2.1.1.zip && rm -f /var/www/html/index.html && mkdir -p /var/www/html/logs && chmod -R 777 /var/www/html/logs && chmod 666 /var/www/html/config/adminlevel.cfg.php && chmod 666 /var/www/html/config/servers.cfg.php && chmod 666 /var/www/html/config/adminserv.cfg.php && chown -R www-data:www-data /var/www/html/ # buildkit
COPY assets/bin/remoteCP_v4.0.3.5.zip /var/www/html # buildkit
RUN /bin/sh -c unzip /var/www/html/remoteCP_v4.0.3.5.zip -d /var/www/html && mv /var/www/html/remoteCP_4.0.3.5-1 /var/www/html/remotecp && rm -f /var/www/html/remoteCP_v4.0.3.5.zip && mkdir -p /var/www/html/remotecp/cache && chmod -R 777 /var/www/html/remotecp/cache && chmod -R 666 /var/www/html/remotecp/xml/*.xml && chmod -R 777 /var/www/html/remotecp/xml && chmod -R 777 /var/www/html/remotecp/xml/settings && chown -R www-data:www-data /var/www/html/remotecp/ # buildkit
RUN /bin/sh -c cp -r /var/www/html /opt/tmserver/default-controlpanel # buildkit
COPY assets/bin/xaseco_v1.16.zip /opt/tmserver/ # buildkit
RUN /bin/sh -c unzip /opt/tmserver/xaseco_v1.16.zip -d /opt/tmserver/ && rm -f /opt/tmserver/xaseco_v1.16.zip && cp /opt/tmserver/xaseco/newinstall/access.xml /opt/tmserver/xaseco/ && cp /opt/tmserver/xaseco/newinstall/adminops.xml /opt/tmserver/xaseco/ && cp /opt/tmserver/xaseco/newinstall/Aseco.sh /opt/tmserver/xaseco/ && cp /opt/tmserver/xaseco/newinstall/AsecoF.sh /opt/tmserver/xaseco/ && cp /opt/tmserver/xaseco/newinstall/autotime.xml /opt/tmserver/xaseco/ && cp /opt/tmserver/xaseco/newinstall/bannedips.xml /opt/tmserver/xaseco/ && cp /opt/tmserver/xaseco/newinstall/config.xml /opt/tmserver/xaseco/ && cp /opt/tmserver/xaseco/newinstall/dedimania.xml /opt/tmserver/xaseco/ && cp /opt/tmserver/xaseco/newinstall/html.tpl /opt/tmserver/xaseco/ && cp /opt/tmserver/xaseco/newinstall/localdatabase.xml /opt/tmserver/xaseco/ && cp /opt/tmserver/xaseco/newinstall/matchsave.xml /opt/tmserver/xaseco/ && cp /opt/tmserver/xaseco/newinstall/musicserver.xml /opt/tmserver/xaseco/ && cp /opt/tmserver/xaseco/newinstall/plugins.xml /opt/tmserver/xaseco/ && cp /opt/tmserver/xaseco/newinstall/rasp.xml /opt/tmserver/xaseco/ && cp /opt/tmserver/xaseco/newinstall/text.tpl /opt/tmserver/xaseco/ && cp /opt/tmserver/xaseco/newinstall/jfreu.config.php /opt/tmserver/xaseco/includes/ && cp /opt/tmserver/xaseco/newinstall/rasp.settings.php /opt/tmserver/xaseco/includes/ && cp /opt/tmserver/xaseco/newinstall/votes.config.php /opt/tmserver/xaseco/includes/ && chmod +x /opt/tmserver/xaseco/Aseco.sh && chmod +x /opt/tmserver/xaseco/AsecoF.sh && rm -rf /opt/tmserver/xaseco/newinstall # buildkit
RUN /bin/sh -c sed -i '/<plugin>plugin\.freezone\.php<\/plugin>/d' /opt/tmserver/xaseco/plugins.xml && sed -i 's/<plugin>plugin\.teamspeak3\.php<\/plugin>/<!-- <plugin>plugin.teamspeak3.php<\/plugin> -->/' /opt/tmserver/xaseco/plugins.xml # buildkit
RUN /bin/sh -c cp -r /opt/tmserver/xaseco /opt/tmserver/default-xaseco # buildkit
ENV SERVER_NAME=Trackmania Server
ENV SERVER_DESC=Powered by tmserver-docker
ENV SERVER_HIDE=0
ENV SERVER_MAX_PLAYERS=32
ENV SERVER_MAX_SPECTATORS=32
ENV SERVER_LADDER_MODE=forced
ENV SERVER_PORT=2350
ENV SERVER_P2P_PORT=3450
ENV SERVER_XMLRPC_PORT=5000
ENV SERVER_UPLOAD_RATE=512
ENV SERVER_DOWNLOAD_RATE=8192
ENV SERVER_MODE=internet
ENV FORCE_CONFIG_UPDATE=false
ENV REMOTECP_DB_HOST=mariadb
ENV REMOTECP_DB_NAME=remotecp
ENV REMOTECP_DB_USER=remotecp
ENV XASECO_ENABLED=true
ENV XASECO_MASTERADMIN_LOGIN=
ENV XASECO_DB_HOST=mariadb
ENV XASECO_DB_NAME=xaseco
ENV XASECO_DB_USER=xaseco
ENV XASECO_DEDIMANIA_NATION=DEU
ENV PHP_DISPLAY_ERRORS=false
VOLUME [/opt/tmserver/GameData]
VOLUME [/var/www/html]
VOLUME [/opt/tmserver/xaseco]
EXPOSE [5000/tcp]
EXPOSE [2350/tcp]
EXPOSE [2350/udp]
EXPOSE [3450/tcp]
EXPOSE [80/tcp]
CMD ["/opt/tmserver/RunTrackmaniaServer.sh"]
Details
Container
2026-03-20 21:52:02 +00:00
2
OCI / Docker
Versions (8) View all
latest 2026-03-26
1.3.2 2026-03-26
1.3.1 2026-03-26
1.3.0 2026-03-23
1.2.2 2026-03-23