Code Monkey home page Code Monkey logo

docker-hercules's People

Contributors

fpiesche avatar

Stargazers

 avatar  avatar

Watchers

 avatar

docker-hercules's Issues

Add builds for separate login/map/char server images

This'll need some experimentation to figure out what data the different server executables actually need to function. Once I've figured that out, I'll want to create a build and then separate it out into three separate images.

Bonus: this means I can experiment with running e.g. multiple replicas of the login or character servers! I'm assuming the map server cannot be replicated and is what keeps the server-side game state...

Can't use non-default interserver user/password

The functionality for setting the interserver username and password works as far as configuring the Hercules servers goes, BUT the database initialisation creates only the default ones so setting any other ones actually causes the servers to fail to run as their login fails.

Game server won't run

I'm trying to get this running on my Synology NAS from the docker registry and once I launch it the container stops.
Checking the logs I get this;

hercules_game_servers_1

datestreamcontent
2022-06-01 13:26:24stdoutNow Started Athena.
2022-06-01 13:26:24stdoutLooks good, a nice Athena!
2022-06-01 13:26:24stdoutCheck complete.
2022-06-01 13:26:24stdoutchecking...
2022-06-01 13:26:24stdout
2022-06-01 13:26:24stdout              modified by [email protected]
2022-06-01 13:26:24stdout            (c) 2003 Athena Project
2022-06-01 13:26:24stdoutAthena Starting...
2022-06-01 13:26:23stdoutNo server executable specified, starting all servers using athena-start...
2022-06-01 13:26:23stdoutFilling server info in /hercules/conf/import/map-server.conf
2022-06-01 13:26:23stdoutFilling server info in /hercules/conf/import/char-server.conf
2022-06-01 13:26:23stdoutFilling database connection info in /hercules/conf/global/sql_connection.conf

If I run the compose I get two containers. The DB is running fine but the game server still cuts off with the same log as above.

Screenshot_20220601-093010_Chrome

Any help would be appreciated and thank you!

Builds fail with memory allocation errors

If I reduce the number of platforms to build they work just fine, but running all platforms - even with single-build concurrency on BuildKit - will cause builds to fail as they run out of memory.

What the heck?

Add entrypoint script for all-in-one image

The convention for Docker images is that configuration can be passed in via environment variables. On my old repo for this, I bundled in Autolycus - however this comes with a huge set of dependencies, and I would like to separate it from the Hercules server images to run in a separate container.

This means that the Docker image for Hercules will need a new entrypoint script, ideally something nice and slim such as a bare shell script to keep image size small, that can parse configuration from environment variables and push it into the configuration files.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.