Image size: ~2.49MiB.Snake game, but its multiplayer. USER: nobody.
3.8K
First, run
docker run --rm -p 8080:8080 defnotgustavom/snake-server --enable-web
to boot the server. Then, go to http://localhost:8080/ to play.
--address - string - sets an address to listen and serve (default: :8080). For example: :8080, localhost:7070
--conns-limit - integer - to limit the number of opened web-socket connections (default: 1000)
--groups-limit - integer - to limit the number of games for a server instance (default: 100)
--enable-web - bool - to enable the embedded web client (default: false)
--enable-broadcast - bool - to enable the broadcasting API method (default: false)
--forbid-cors - bool - to forbid cross-origin resource sharing (default: false)
--log-json - bool - to enable JSON log output format (default: false)
--log-level - string - to set the log level: panic, fatal, error, warning (warn), info or debug (default: info)
--seed - integer - to specify a random seed (default: the number of nanoseconds elapsed since January 1, 1970 UTC)
--sentry-enable - bool - to enable sending logs to sentry (default: false)
--sentry-dsn - string - sentry's DSN (default: ""). For example: https://[email protected]/44
--tls-cert - string - to specify a path to a certificate file
--tls-enable - bool - to enable TLS
--tls-key - string - to specify a path to a key file
--debug - bool - to enable profiling routes
Check https://github.com/ivan1993spb/snake-server for more info.
Content type
Image
Digest
sha256:612efe37a…
Size
2.5 MB
Last updated
about 3 years ago
docker pull defnotgustavom/snake-server