Example config:
# docker-compose.yml
version: "3.4"
services:
haxroomie:
image: frooko/haxball-server
network_mode: host
environment:
- ROOM_TOKEN=$ROOM_TOKEN
volumes:
- ./config:/config
tmpfs:
- /tmp
tty: true
command:
- /home/chrome/.npm-global/bin/haxroomie-cli
- --no-sandbox
- -c
- /config/config.js
# config.js
let config = {
room1: {
autoStart: true,
roomName: 'I am the room name',
playerName: 'bot',
maxPlayers: 12,
public: false,
noPlayer: true,
token: process.env.ROOM_TOKEN,
repositories: [
{
type: 'github',
repository: 'morko/hhm-sala-plugins',
},
],
pluginConfig: {
'hr/always-one-admin': {},
'hr/maps': {
maps: {},
}
},
},
};
module.exports = config;
Content type
Image
Digest
sha256:dd027db7d…
Size
381.2 MB
Last updated
over 1 year ago
docker pull frooko/haxball-server