emcniece / DockerYourXyzzy

Dockerized Cards Against Humanity clone - https://github.com/ajanata/PretendYoureXyzzy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Image does not work?

Krutonium opened this issue · comments

Using the command docker run -d -p 666:8080 emcniece/dockeryourxyzzy:run

Installs the image. However going to the port specified just returns an empty page.

Confirmed on OSX, what OS are you on? (Bonus points for opening the Devil's Port on TempleOS)

I could have sworn this worked at one point, but I haven't recompiled and/or tagged in ages and it is clearly broken now...

Sorry, was AFK. I confirmed it on both Ubuntu Server 18.04 and Arch Linux

it will bind to HOST:PORT/ZY/, the official pretendyourxyzzy does that

After a little bit of research in the code I found out you have to visit this URL : http://localhost:8080/game.jsp

Posting it here since it might help someone. Good Luck.

When using the compose command for some reason this doesn't work. I tried running the following:

docker run -d \
  -p 8080:8080 \
  --name pyx-dev \
  emcniece/dockeryourxyzzy:dev

and the server was accessible at http://localhost:8080/game.jsp.

docker-compose up -d --build gave me nothing

Just pushed some updates to master, including an overhauled Docker image. Check out the new compose file, give emcniece/dockeryourxyzzy:3 a shot, hopefully this multi-stage madness is cleaned up.

Saw this wayyyy late but sweet, I'll give it another shot!