https://github.com/yoep/docker-servers
Gameservers running on docker
https://github.com/yoep/docker-servers
Last synced: 5 months ago
JSON representation
Gameservers running on docker
- Host: GitHub
- URL: https://github.com/yoep/docker-servers
- Owner: yoep
- Created: 2022-06-27T08:09:39.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-11-01T11:16:07.000Z (over 1 year ago)
- Last Synced: 2025-01-17T22:23:54.576Z (over 1 year ago)
- Language: Dockerfile
- Size: 719 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker servers
Various docker game servers which are not present within the [OpenSourceLAN/gameservers-docker](https://github.com/OpenSourceLAN/gameservers-docker) repo.
## Usage
The `docker-compose.yaml` file contains all servers which can be started.
To run a specific server, use the following command:
```shell
docker compose up [SERVICE] --detach
```
### Local server config
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:
```shell
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:
```shell
docker compose -f docker-compose.yaml -f docker-server.yaml run [SERVICE] --detach
```
### Update a server/docker image
If an update is available, you need to stop the docker container and run
the following command.
```shell
docker compose build [SERVICE] --no-cache --pull
```
or rebuild and startup in the same command:
```shell
docker compose up [SERVICE] --detach --build
```
## Data
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.
## Logs
If you want to access the logs of the server, use the following command:
```shell
docker compose logs -f [SERVICE]
```