Go-based backend for the In/Out board. It uses Sqlite for a data store, and ldap for authentication.
The config holds the login credentials for the LDAP store, and other settings. It looks like
[Auth]
Username=<ldapuser>
BindPassword=<ldappassword>
LdapPort=389
LdapServer=<ldaphost>
Realm=<ldaprealm>
LdapSearchBase=<something like DC=Realm>
[Files]
StaticFilesPath=<path to static files dir>
DbPath=<path to database file (it will be created if it doesn't exist)>
[Net]
Port=<listen port>
-
INOUTBOARD_CONFIG: a path to the actual config file.
-
INOUTBOARD_STATIC: a path to the static files directory.
-
INOUTBOARD_DEBUG: the log verbosity. Recognized values are debug, info, warn, and error. While the debug log level uses a text formatter, higher log levels use JSON.
- Copy the
inoutboard.service
file to/etc/systemd/system
. - Create the
/etc/inoutboard.d
directory. - Copy the config file and TLS keys to
/etc/inoutboard.d
- Copy the static files to the static files directory (as listed in the config file)
- Cross your fingers and start the server with
systemd start inoutboard
- Check the server log with
journalctl -u inoutboard