Commit Graph

4 Commits

Author SHA1 Message Date
d7445e0f0f Switched to redis/postgres, major refactoring
- loginMetadata is passed to shards through redis now
- shards announce they're alive via redis.AnnounceShard() which just
  populates a hashset keyed 'shards'
- login servers grab the 'shards' hashset and randomly picks a shard to
  pass the player to (for now)
- ./service shard && ./service login
- Many new environment variables, check config/config.go for more info.
  or for a tl;dr just read the Dockerfile for the required ones
- Shard and login services now run in different processes ! (and
  containers?? wooaaah)
2023-06-22 01:53:38 -05:00
983588b6c9 dockerfile: switch to scratch
- build.sh: disables CGO and specifies linux
- we really don't need the cstdlib now, and we don't need a busybox shell
2023-06-20 18:33:29 -05:00
b639346605 server: split LoginServer, new Server interface 2023-03-07 14:47:49 -06:00
93208bc292 added simple build script 2023-03-06 18:41:26 -06:00