Skip to content

evanofslack/go-poker

Repository files navigation

go-poker

Real time multiplayer poker application powered by go, react, websockets and redis pubsub

demo

https://poker.evanslack.dev

ui

gopoker-screenshot

getting started

Can run from a prebuilt container: evanofslack/go-poker:latest

First copy .env.example to .env and change values if needed

services:
  go-poker:
    image: evanofslack/go-poker:latest
    container_name: go-poker
    restart: unless-stopped
    ports:
      - 8080:8080
    environment:
      REDIS_URL: ${REDIS_URL}
    depends_on:
      - redis

  redis:
    container_name: go-poker-redis
    image: redis:latest
    restart: unless-stopped
    entrypoint: redis-server --appendonly yes
    environment:
      REDIS_PASSWORD: ${REDIS_PASSWORD}
    volumes:
      - redis:/data
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro

volumes:
  redis:

development

Can run application built from local code

docker-compose -f dev/docker-compose.yaml up --build

About

real-time multiplayer poker

Topics

Resources

License

Stars

Watchers

Forks

Contributors