Comments (7)
The server config is in the container... no idea other than that. :D
from quakejs-docker.
@ratnose is correct, the server config is in the container. But you can edit it:
exec into the container:
docker exec -it quakejs bash
and then navigate to:
/quakejs/base/baseq3
/quakejs/base/cpma
From there you can vi server.cfg
to edit it.
You could also copy a config file from your host machine to your container:
docker cp server.cfg quakejs:/quakejs/base/baseq3/server.cfg
With both of these methods restart the container afterwards:
docker restart quakejs
from quakejs-docker.
Isn't entrypoint.sh hardcoded to baseq3
?:
node build/ioq3ded.js +set fs_game baseq3 set dedicated 1 +exec server.cfg
(It's interesting that the server side runs a Javascript version of the server rather than the plain C++ version. Is there a performance penalty there we could avoid? 🤔)
Have you considered moving the configuration and content to a volume. IIUC, it's bad practice to modify containers. This might allow one to add the standard Q3 maps such as pak0.pak, or other custom maps, maybe?
from quakejs-docker.
Yeah, you'd have to update entrypoint.sh changing it to cpma
instead of baseq3
in the container as well.
Right, you shouldn't be changing a container, but this project isn't official, so do so at your own risk. I was just offering a work around until what you are asking for is implemented.
It's running in JavaScript because that is what quakeJS is.
I did think about putting the config/maps on a volume, I'll try to prototype that out and see if it adds complexity. I want to keep this as simple as possible for people to be able to pull and run with little to no configuration required.
from quakejs-docker.
@treyyoder the key Javascript part is certainly the client since that lets us run Quake on a browser. There's no benefit in running the server via Javascript, is there?
from quakejs-docker.
@luismbo Read this section on the main quakejs repo from which this is derived, and the part about quakejs using websockets and how native builds and web builds currently can't interact with eachother.
https://github.com/inolen/quakejs#running-a-dedicated-server
from quakejs-docker.
Oh, interesting. Thanks for the pointer @treyyoder.
from quakejs-docker.
Related Issues (20)
- Automate Image Creation HOT 1
- Only getting JS logo when using localhost:8080 or LANIP:8080 HOT 3
- Change Quakejs Port ?
- Add HTTPS HOT 8
- Container tries to pull some content from outside HOT 3
- Adding new serverside mod HOT 5
- Adding server to the QuakeJS Master server list HOT 8
- missing texture HOT 11
- Page Stuck JS HOT 6
- Custom server.cfg HOT 1
- Can't start docker because of "ECONNREFUSED 188.114.97.2:80" HOT 1
- What is the best way to change settings? HOT 1
- Errors with docker-compose HOT 3
- Trying start behind a reverse proxy... HOT 27
- entrypoint.sh is missing exec permission HOT 4
- Only one map is working HOT 3
- Custom Maps HOT 7
- Pi support HOT 3
- Only QuakeJS logo HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quakejs-docker.