-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend the docs with some use cases and examples #34
Comments
|
For multi instance, at least you have to change:
Use case: |
Thanks for the comments. I run my CS2 servers under AWS Fargate, I can add some examples explaining that too. Will put some effort into deployment examples this weekend if I find some time. |
version: '2'
services:
cs2_server1:
image: joedwards32/cs2
env_file:
- .env
...
|
Currently this isn't the case because the container templates this file on launch: https://github.com/joedwards32/CS2/blob/main/bullseye/etc/entry.sh#L16 |
What if you change the file permission to avoid the file to be re-writed? |
I think it would be better to create a new config file, e.g. |
I will test and document this properly in a PR if someone can save me some time by pointing me in the right direction. I'm using the env vars in the docker-compose.yml file to get this running, and it works. But do I need to modify and restart the server each time I want to change something like the map or number of bots? Is there an easier way to do that without having to restart the docker containers? |
Most of the time it's enough if you just change to another map. I mean for the game server settings, not the container or other env variables. |
@joedwards32 This is manual way of running a multi instance game server. Maybe it helps to implement this feature, or understand it better. After the game is installed;
It won't execute the In the
Other way can be: use the |
I would like to see some solutions in the docs for the following topics:
The text was updated successfully, but these errors were encountered: