Hi,
I have a couple questions related to the Docker container found here: https://hub.docker.com/r/bateau/openttd
So far I can run the container and can connect to it no problem. My question is related to configuration and saves.
1. How do I config the server so I can add a password and change the server name etc.
2. I made a local save from my desktop and then uploaded it to the server. I tried to load it when running the docker and it spit out the file was unreadable.
I have read the FAQ and Docker page a number of times but something just isn't clicking on what I need to do.
Thanks in advance if someone can point me in the right direction.
Docker Configuration For Dedicated Server Question
Moderator: OpenTTD Developers
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Docker Configuration For Dedicated Server Question
1) Passwords etc are all configured in openttd.cfg which you should find within that docker container - where exactly depends on how it is setup inside the container. Maybe alongside the binary, maybe in ~/.openttd.
2) Maybe the binary was compiled without support for some compression algorithms, especially the current default.
2) Maybe the binary was compiled without support for some compression algorithms, especially the current default.
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: Docker Configuration For Dedicated Server Question
I had a look around and I just can't seem to find it in the docker container.
https://github.com/bateau84/openttd/blo ... openttd.sh
I looked at the script it is running to trigger the server and I can see it is not running the -c flag with would specify a different config file to run.
The openttd binary seems to exist in /usr/games but there is nothing else in that folder. If the binary runs and you don't specify a config file what happens? Does the application just generate it's own base config and then remove it after it stops? Or does it absolutely need a openttd.cfg sitting somewhere to operate?
https://github.com/bateau84/openttd/blo ... openttd.sh
I looked at the script it is running to trigger the server and I can see it is not running the -c flag with would specify a different config file to run.
The openttd binary seems to exist in /usr/games but there is nothing else in that folder. If the binary runs and you don't specify a config file what happens? Does the application just generate it's own base config and then remove it after it stops? Or does it absolutely need a openttd.cfg sitting somewhere to operate?
-
- Engineer
- Posts: 6
- Joined: 29 Dec 2022 16:28
Re: Docker Configuration For Dedicated Server Question
Update: I have publish a docker container can host mutiple dedicated servers at once.
The container allows you to host multiple instances of OpenTTD dedicated servers in a single container, providing an efficient and convenient environment for hosting these servers.
It provides the following features:
The Project is on github and open source: https://github.com/andreashauschild/openttd-server
Docker: https://hub.docker.com/r/hauschi86/openttd-server
The container allows you to host multiple instances of OpenTTD dedicated servers in a single container, providing an efficient and convenient environment for hosting these servers.
It provides the following features:
- Login protected admin gui
- Lanaging multiple dedicated OpenTTD server instance. You just need to expose the needed ports on container startup.
- Upload/Download of save games and configuration files
- Password protection for dedicated servers
- Auto save of running servers
- Auto pause and unpause on inactive servers. If no player is playing the server is running but paused. Server unpauses if a player joins a company.
- Simple terminal to send commands directly to the dedicated server
The Project is on github and open source: https://github.com/andreashauschild/openttd-server
Docker: https://hub.docker.com/r/hauschi86/openttd-server
Who is online
Users browsing this forum: No registered users and 14 guests