Public Repository

Last pushed: 4 months ago
Short Description
Go-NEB bot for Matrix Chat
Full Description

Creates a windows container including the Go-NEB bot using the repo at https://github.com/matrix-org/go-neb. It's based on the dockerfile at https://github.com/docker-library/golang/blob/64b88dc3e9d83e71eafc000fed1f0d5e289b3e65/1.8/windows/windowsservercore/Dockerfile, but that has no gcc compiler so I hacked in mingw64 from https://nuwen.net/mingw.html. It will work with or without a config file (https://github.com/matrix-org/go-neb/blob/master/config.sample.yaml) and can be started by a simple powershell script with some env variables:

Set-Location -Path C:\gopath\go-neb
$env:BIND_ADDRESS=":4050"
$env:DATABASE_TYPE="sqlite3"
$env:DATABASE_URL="go-neb.db?_busy_timeout=5000"
$env:BASE_URL="https://public.facing.endpoint bin/go-neb"
$env:CONFIG_FILE="c:\gopath\go-neb\go_neb_conf.yaml"
& .\bin\go-neb.exe

[NB: you only need one of DATBASE_URL & CONFIG_FILE depending how you run the bot]

Docker Pull Command
Owner
twoodling

Comments (0)