initial commit
This commit is contained in:
18
Dockerfile
Normal file
18
Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
FROM debian:bookworm-slim
|
||||
|
||||
RUN apt update && apt install -y curl unzip liblua5.3-0
|
||||
|
||||
WORKDIR /opt/beammp-server
|
||||
|
||||
RUN curl -L -o BeamMP-Server https://github.com/BeamMP/BeamMP-Server/releases/download/v3.8.5/BeamMP-Server.debian.12.x86_64 \
|
||||
&& chmod +x BeamMP-Server
|
||||
|
||||
# Optional: COPY config und resources
|
||||
# COPY config /opt/beammp-server/config
|
||||
# COPY resources /opt/beammp-server/resources
|
||||
|
||||
EXPOSE 30814/udp
|
||||
EXPOSE 30814/tcp
|
||||
|
||||
CMD ["./BeamMP-Server"]
|
||||
|
6
config/Server.cfg
Normal file
6
config/Server.cfg
Normal file
@@ -0,0 +1,6 @@
|
||||
Name=LasseTheis
|
||||
Port=30814
|
||||
MaxPlayers=2
|
||||
Map=/levels/gridmap_v2/info.json
|
||||
Private=false
|
||||
Password=test
|
32
config/ServerConfig.toml
Normal file
32
config/ServerConfig.toml
Normal file
@@ -0,0 +1,32 @@
|
||||
# This is the BeamMP-Server config file.
|
||||
# Help & Documentation: `https://docs.beammp.com/server/server-maintenance/`
|
||||
# IMPORTANT: Fill in the AuthKey with the key you got from `https://keymaster.beammp.com/` on the left under "Keys"
|
||||
[Misc]
|
||||
# Specifies the time between update reminders. You can use any of "s, min, h, d" at the end to specify the units seconds, minutes, hours or days. So 30d or 0.5min will print the update message every 30 days or half a minute.
|
||||
UpdateReminderTime = "30s"
|
||||
# Hides the periodic update message which notifies you of a new server version. You should really keep this on and always update as soon as possible. For more information visit https://wiki.beammp.com/en/home/server-maintenance#updating-the-server. An update message will always appear at startup regardless.
|
||||
ImScaredOfUpdates = true
|
||||
|
||||
[General]
|
||||
Description = "BeamMP Default Description"
|
||||
MaxCars = 1
|
||||
# Whether to log chat messages in the console / log
|
||||
LogChat = true
|
||||
ResourceFolder = "resources"
|
||||
# The IP address to bind the server to, this is NOT related to your public IP. Can be used if your machine has multiple network interfaces
|
||||
IP = "::"
|
||||
Name = "BeamMP Server"
|
||||
Private = true
|
||||
# Whether to allow unconnected clients to get the public server information without joining
|
||||
InformationPacket = true
|
||||
# Whether to allow guests
|
||||
AllowGuests = true
|
||||
Port = 30814
|
||||
Debug = false
|
||||
# Add custom identifying tags to your server to make it easier to find. Format should be TagA,TagB,TagC. Note the comma seperation.
|
||||
Tags = "Freeroam"
|
||||
# AuthKey has to be filled out in order to run the server
|
||||
AuthKey = "4f10662a-3562-44a1-a7df-68f8916da466"
|
||||
MaxPlayers = 8
|
||||
Map = "/levels/automation_test_track/info.json"
|
||||
|
21
docker-compose.yml
Normal file
21
docker-compose.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
beammp-server:
|
||||
build: .
|
||||
container_name: beammp-server
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- proxynet
|
||||
ports:
|
||||
- "30814:30814/udp"
|
||||
- "30814:30814/tcp"
|
||||
volumes:
|
||||
- ./config/ServerConfig.toml:/opt/beammp-server/ServerConfig.toml
|
||||
- ./resources:/opt/beammp-server/resources
|
||||
|
||||
working_dir: /opt/beammp-server
|
||||
|
||||
networks:
|
||||
proxynet:
|
||||
external: true
|
1
resources/client/mods.json
Normal file
1
resources/client/mods.json
Normal file
@@ -0,0 +1 @@
|
||||
null
|
Reference in New Issue
Block a user