add firewall rules with a rules handler, setup command fix and rust server

This commit is contained in:
Didier Slof 2022-12-05 09:11:37 +01:00
parent fb7b388c8e
commit 01e4c835b2
Signed by: didier
GPG key ID: 01E71F18AA4398E5
5 changed files with 153 additions and 23 deletions

View file

@ -19,8 +19,18 @@ services:
TYPE: "PAPER"
VERSION: "1.19.2"
restart: always
ports:
ports: # 280** and 25565 is allocated to SMPXMC
- "25565:25565"
#- "28016:28016" # Rcon
volumes:
- /srv/smpxmc/data:/data
- /srv/smpxmc/data:/data
rust:
image: didstopia/rust-server:latest
environment:
- RUST_SERVER_NAME=smexypexyrustserver
- RUST_SERVER_MAXPLAYERS=20
ports: # 281** is allocated for Rust
- "28115:28015"
- "28116:28016"
- "28182:28082"