fpiesche / docker-hercules Goto Github PK
View Code? Open in Web Editor NEWLicense: Creative Commons Attribution Share Alike 4.0 International
License: Creative Commons Attribution Share Alike 4.0 International
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...
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.
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;
date | stream | content |
---|---|---|
2022-06-01 13:26:24 | stdout | Now Started Athena. |
2022-06-01 13:26:24 | stdout | Looks good, a nice Athena! |
2022-06-01 13:26:24 | stdout | Check complete. |
2022-06-01 13:26:24 | stdout | checking... |
2022-06-01 13:26:24 | stdout | |
2022-06-01 13:26:24 | stdout | modified by [email protected] |
2022-06-01 13:26:24 | stdout | (c) 2003 Athena Project |
2022-06-01 13:26:24 | stdout | Athena Starting... |
2022-06-01 13:26:23 | stdout | No server executable specified, starting all servers using athena-start... |
2022-06-01 13:26:23 | stdout | Filling server info in /hercules/conf/import/map-server.conf |
2022-06-01 13:26:23 | stdout | Filling server info in /hercules/conf/import/char-server.conf |
2022-06-01 13:26:23 | stdout | Filling 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.
Any help would be appreciated and thank you!
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?
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.
As implied by issue title, the current version of hercules-build/Makefile
attempts to assemble a Dockerfile using stages that no longer exist in the repo, probably due to a refactor.
#13 has demonstrated a need to be able to identify when the images have been rebuilt. Adding some versioning to the image tags might be useful...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.