Various docker game servers which are not present within the OpenSourceLAN/gameservers-docker repo.
The docker-compose.yaml
file contains all servers which can be started.
To run a specific server, use the following command:
docker compose up [SERVICE] --detach
If you want to add server options to the docker compose without modifying the git tracked file,
add a new file called docker-server.yaml
and launch it as follows:
docker compose -f docker-compose.yaml -f docker-server.yaml up [SERVICE] --detach
Some servers however require initial command arguments on the first start.
This can be resolved by using run
instead of up
as follows:
docker compose -f docker-compose.yaml -f docker-server.yaml run [SERVICE] --detach
If an update is available, you need to stop the docker container and run the following command.
docker compose build [SERVICE] --no-cache --pull
or rebuild and startup in the same command:
docker compose up [SERVICE] --detach --build
Most of the server data will be mounted to the service directory which is started for easy access.
This can always be changed in within the docker-compose.yaml
file.
If you want to access the logs of the server, use the following command:
docker compose logs -f [SERVICE]