Doc Bosher
New member
Hi this may be a really dumb question and I apologize if it is. I am just getting into self-hosting / home lab and was wondering if it would be possible to run mafia in a container on a headless server?
The why:
I usually run mafia on my macbook, everyday after RO I download the latest release from github, fiddle with gatekeeper to allow me to open it, then run autoscend. In aftercore I do party quest, fantasyrealm, piraterealm, cyber realm then overdrink and farm the beach with all my remaining turns, then ascend and repeat. Lately I am doing HCO runs and then will be doing more shrunken runs to HC perm skills. I'm busy with work for the foreseeable future, but when I have more time I'll go back to playing normally.
My desired outcome:
Daily after RO, download the latest release, build an image that run KolMafia, with the Java GUI accessable on a port, ie: `192.168.1.X:7777` and the relay interface on another port, ie: `192.168.1.X:7778`.
Is this possible to achieve with mafia as it is or would it require code changes?
My background is webdev, I'm very new to java/docker/bash scripting etc.
If not, is it possble to achieve this entirly through running mafia through the CLI and some custom ash scripts?
Any help would be appreciated.
Thanks
The why:
I usually run mafia on my macbook, everyday after RO I download the latest release from github, fiddle with gatekeeper to allow me to open it, then run autoscend. In aftercore I do party quest, fantasyrealm, piraterealm, cyber realm then overdrink and farm the beach with all my remaining turns, then ascend and repeat. Lately I am doing HCO runs and then will be doing more shrunken runs to HC perm skills. I'm busy with work for the foreseeable future, but when I have more time I'll go back to playing normally.
My desired outcome:
Daily after RO, download the latest release, build an image that run KolMafia, with the Java GUI accessable on a port, ie: `192.168.1.X:7777` and the relay interface on another port, ie: `192.168.1.X:7778`.
Is this possible to achieve with mafia as it is or would it require code changes?
My background is webdev, I'm very new to java/docker/bash scripting etc.
If not, is it possble to achieve this entirly through running mafia through the CLI and some custom ash scripts?
Any help would be appreciated.
Thanks