quakejs-docker icon indicating copy to clipboard operation
quakejs-docker copied to clipboard

Pi support

Open ChrisScottThomas opened this issue 5 years ago • 2 comments

Hello! First off, thanks for this, I'm having great fun smashing my kids into the ground!

Secondly, a tip for anyone who's looking, swapping the image base to arm32v7/ubuntu:latest allows you to host this on a Pi. This has made it a lot better for me at home, as I can leave it up all the time rather than spawning it on a macbook.

Cheers!

ChrisScottThomas avatar Apr 29 '20 13:04 ChrisScottThomas

@ChrisScottThomas Would you mind explaining how to do this?

Ethergy avatar Oct 15 '21 01:10 Ethergy

I guess the only option is to change the docker image, because this one "treyyoder/quakejs" does not support other tags than "latest" and is NOT compatible with ARM (neither 32 nor 64) architectures. I have searched dockerhub for quakejs images which support ARM architectures: https://hub.docker.com/search?q=quakejs&architecture=arm%2Carm64 and have tried successfully with the first option/image from the 2 results.

So, the following stack/compose file is working for me on RPI4 (4GB RAM).

version: '2'
services:
    quakejs:
        container_name: quakejs
        environment:
            - HTTP_PORT=8282
            - SERVER=10.0.0.4 #your internal IP
        ports:
            - '8282:80'
            - '27960:27960'
        image: 'chrisscottthomas/quakejs:latest'

Good luck!

g0rge0us avatar Apr 06 '22 00:04 g0rge0us

@g0rge0us If you want to make a PR for your work for Pi support, I'd be glad to review it.

Closing

treyyoder avatar Aug 30 '22 01:08 treyyoder