emcniece / DockerYourXyzzy

Dockerized Cards Against Humanity clone - https://github.com/ajanata/PretendYoureXyzzy
71 stars 38 forks source link

Docker Image does not work? #3

Open Krutonium opened 5 years ago

Krutonium commented 5 years ago

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.

emcniece commented 5 years ago

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...

Krutonium commented 5 years ago

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

grahhnt commented 4 years ago

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

raphaelpare commented 4 years ago

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.

westminsterabi commented 4 years ago

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

emcniece commented 4 years ago

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.

westminsterabi commented 4 years ago

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