Tool to allow your friends to start stopped containers. Useful for when your host charges based on CPU usage. Allows you to turn off your game servers when no players are on but not have to be around when your buddies want to play.

Managed containers need to be specified in a config file.
docker run -d \
--name game_manager \
-v $(pwd)/appsettings.json:/app/appsettings.json \
-v /etc/localtime:/etc/localtime:ro \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
rfvgyhn/game-manager
Sample appsettings.json:
{
"Containers": [
{
"DisplayName": "Container1 - Name",
"DisplayImage": "container1.png",
"Name": "container_name",
"Enabled": true,
"Notes": "Some notes about this container"
},
{
"DisplayName": "Container2 - Name",
"DisplayImage": "container2.png",
"Name": "container_name2",
"Enabled": false
}
],
"Logging": {
"LogLevel": {
"GameManager": "Debug",
"Default": "Error",
"System": "Error",
"Microsoft": "Error"
}
}
}
| Name | Type | Description |
|---|---|---|
| DisplayName | string | The text that shows up in the card title |
| DisplayImage | string | Path to card image relative to the cards directory |
| Name | string | Container name as shown by docker ps |
| Enabled | boolean | Allow users to interact with container |
| Notes | string | Optional text that shows up in the card description |
Each container has support for a custom image. Mount the cards volume in order to add them.
docker run -d \
--name game_manager \
-v $(pwd)/appsettings.json:/app/appsettings.json \
-v $(pwd)/cards:/app/wwwroot/cards \
-v /etc/localtime:/etc/localtime:ro \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
rfvgyhn/game-manager
This app doesn't support authentication/authorization out of the box. It is highly recommended to run this behind a reverse proxy that takes care of auth for you. Traefik with Let's Encrypt + Basic Auth makes this very simple.
Content type
Image
Digest
sha256:d17b30607…
Size
58.2 MB
Last updated
6 months ago
docker pull rfvgyhn/game-manager