forked from LunaMultiplayer/LunaMultiplayer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
27 lines (27 loc) · 1.06 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# You also need the Dockerfile_Server file, put it in the same directory as this file.
# Build and create a container with: docker-compose up -d --build
# You may set the version of the server when an update is released, see "args"
#
# Attach to the container with: docker-compose exec lunamultiplayer /bin/ash
version: '3.3'
services:
lunamultiplayer:
build:
context: ./
dockerfile: Dockerfile_Server
args:
# set to desired version, available versions: https://github.com/LunaMultiplayer/LunaMultiplayer/releases
- LMP_VERSION=0.25.0
container_name: lunamultiplayer
environment:
- TZ=CET
ports:
- '8800:8800/udp'
# uncomment to enabler website
# - '8900:8900'
volumes:
- '/opt/LMPServer/Config:/LMPServer/Config'
- '/opt/LMPServer/Universe:/LMPServer/Universe'
- '/opt/LMPServer/Plugins:/LMPServer/Plugins'
- '/opt/LMPServer/logs:/LMPServer/logs'
restart: unless-stopped