Real time multiplayer poker application powered by go, react, websockets and redis pubsub
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:Can run application built from local code
docker-compose -f dev/docker-compose.yaml up --build