version: '3.5'
services:
jts3servermod:
container_name: jts3servermod
image: openjdk:22
volumes:
- ./botfiles:/botfiles
restart: unless-stopped
environment:
TZ: Europe/Berlin
entrypoint: ["/botfiles/entrypoint.sh"]
#!/bin/sh
cd /botfiles
# delete pid and lock file which could lead into the bot not starting
rm -f /botfiles/config/jts3servermod.pid
rm -f /botfiles/config/JTS3ServerMod_InstanceManager.cfg.lock
# run the bot
/usr/bin/java -Xms1G -Xmx2G -jar JTS3ServerMod.jar
Page created in 0.032 seconds with 12 queries.