Comments (4)
Can set
- Servername
- Port
- Password
- PlayMode
- AdminSteamId
via Environement variables.
from btl44.
"Edit configfile before running server". I think a (readonly) volume for a specific config file on the host system should solve this, right? You already mentioned it in your README too.
docker run --name btlserver -v /path/to/host/config:/path/to/container/config frenos/btl44
. If the config file exists on the host, the container will use this one, if it does not exists the container will use the embedded config file.
from btl44.
Yes, that was exactly our first thought about that.
If you just want a single customized server that will work fine when the config is writable, but you have to be aware that set environment variables will also write to that config.
I also had a chat with the serveradmin of a gaming community that want to run 6 equal servers with just the hostnames different.
We got the following solution:
- Customized config is mounted to a dummy directory, together with possible custom decks
- Container starts and copies those files over the default server config
- Container sets environment variables in the (copied) config
- Container starts server
The big advantage: I can customize a new base-config with all the great settings I want on my servers, then start n containers and give each one a different servername via separate environment variables.
I think that looks like the most flexible solution for all cases and I will implement this probably tonight or tomorrow.
from btl44.
Sounds good to me.
from btl44.
Related Issues (9)
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 btl44.