It is compiling the pokerth server, but I didn't test it. also I wouldn't use a pass because I want it simple for my technologically impaired friends! :Dīut there are some pokerth containers on dockerhub: But it is using almost no ram, cpu and traffic. Somebody had to guess my ddns domain and then he could use it. I'm using it without password and there is no problem. I may have misunderstood this setup, I had assumed that you could administer the server via a web interface. Have I missed something or did yours just work with the 3 files listed above? Did you have to change anything else? Could you hit the IP address and port of the machine you installed it on to see some sort of interface after running the commands you listed? It mentions that you have to change the server address in the config.xml, but there's no mention of that in your Dockerfile, or anywhere else. I had a go at following the guide listed below ( ) pokerth/log-files/server_messages.log 2020-Apr-21 08:41:29 MSG: Starting PokerTH dedicated server. I found some further details after some more digging:Ĭat. If you can point me in the direction of a log file inside the container, I can take a look, but my casual browsing in it didn't throw up any logs that I could see. I can see that the process doesn't start right away, is that an issue or should this be working for me? It says it's running but I can't access it via port 7234. info : 'pokerth_server' process is running with pid 11 'pokerth_server' process is running with pid 11 info : 'pokerth_server' start: '/etc/init.d/pokerth_server start' 'pokerth_server' start: '/etc/init.d/pokerth_server start' info : 'pokerth_server' trying to restart error : 'pokerth_server' process is not running I received the following output in the logs: New Monit id: 4f217f8812071483d7405fd0678dc843 I followed these instructions and I ran the command above to start it:ĭocker run -d -p 7234:7234 -name=pokerth -restart=always pokerth Kill `cat /var/run/pokerth_server.pid` Įcho "Usage: pokerth_server " Pgrep -n pokerth_server > /var/run/pokerth_server.pid Sudo -H -u pokerth /home/pokerth/pokerth/pokerth_server If 5 restarts within 5 cycles then timeout Stop program = "/etc/init.d/pokerth_server stop" Start program = "/etc/init.d/pokerth_server start" Set eventqueue basedir /var/lib/monit/events slots 5000Ĭheck process pokerth_server with pidfile /var/run/pokerth_server.pid pokerth/ĬOPY pokerth_server /etc/init.d/pokerth_server RUN useradd -ms /usr/sbin/nologin -u 4000 -g 4000 pokerth RUN apt-get -y install monit pokerth-server sudo Here's a Dockerfile that works for me (you'll also need monitc and pokerth_server files, code below): FROM ubuntu:eoan
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |