mirror of
https://git.techniverse.net/scriptos/tmserver-docker.git
synced 2026-06-18 22:09:21 +00:00
Files verschoben und Docker-Compose erstellt.
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
# Git
|
||||||
|
.git
|
||||||
|
.gitignore
|
||||||
|
|
||||||
|
# IDE
|
||||||
|
.vscode
|
||||||
|
|
||||||
|
# Docs
|
||||||
|
README.md
|
||||||
+2
-2
@@ -4,14 +4,14 @@ RUN mkdir /opt/tmserver
|
|||||||
|
|
||||||
WORKDIR /opt/tmserver
|
WORKDIR /opt/tmserver
|
||||||
|
|
||||||
COPY TrackmaniaServer_2011-02-21.zip /opt/tmserver
|
COPY assets/bin/TrackmaniaServer_2011-02-21.zip /opt/tmserver
|
||||||
RUN apt-get update && apt-get install -y unzip
|
RUN apt-get update && apt-get install -y unzip
|
||||||
RUN unzip /opt/tmserver/TrackmaniaServer_2011-02-21.zip -d /opt/tmserver
|
RUN unzip /opt/tmserver/TrackmaniaServer_2011-02-21.zip -d /opt/tmserver
|
||||||
COPY custom_game_settings.txt /opt/tmserver/GameData/Tracks/MatchSettings/
|
COPY custom_game_settings.txt /opt/tmserver/GameData/Tracks/MatchSettings/
|
||||||
COPY RunTrackmaniaServer.sh /opt/tmserver/
|
COPY RunTrackmaniaServer.sh /opt/tmserver/
|
||||||
|
|
||||||
RUN apt-get -y install apache2 php php-zip php-xml
|
RUN apt-get -y install apache2 php php-zip php-xml
|
||||||
COPY AdminServ_v2.1.1.zip /var/www/html
|
COPY assets/bin/AdminServ_v2.1.1.zip /var/www/html
|
||||||
RUN unzip /var/www/html/AdminServ_v2.1.1.zip -d /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 chmod -R 777 /var/www/html/
|
||||||
RUN rm -f /var/www/html/index.html
|
RUN rm -f /var/www/html/index.html
|
||||||
|
|||||||
Executable → Regular
@@ -0,0 +1,22 @@
|
|||||||
|
services:
|
||||||
|
tmserver:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
args:
|
||||||
|
SERVER_NAME: "Trackmania Server"
|
||||||
|
SERVER_DESC: "This is a Trackmania Server"
|
||||||
|
SERVER_SA_PASSWORD: "SuperAdmin"
|
||||||
|
SERVER_ADM_PASSWORD: "Admin"
|
||||||
|
container_name: tmserver
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "2350:2350/tcp"
|
||||||
|
- "2350:2350/udp"
|
||||||
|
- "3450:3450/tcp"
|
||||||
|
- "5000:5000/tcp"
|
||||||
|
- "80:80/tcp"
|
||||||
|
environment:
|
||||||
|
- SERVER_NAME=Trackmania Server
|
||||||
|
- SERVER_DESC=This is a Trackmania Server
|
||||||
|
- SERVER_SA_PASSWORD=SuperAdmin
|
||||||
|
- SERVER_ADM_PASSWORD=Admin
|
||||||
Reference in New Issue
Block a user