Wraps brother_ql in a Go server for remote operation. It is tightly coupled to AWS Parameter Store at the moment. I probably won't have time to help you with that if you get stuck!
- Podman
sudo apt install podman - AWS credentials
- A compatible printer (see brother_ql's README)
- Create the container definition in
/etc/containers/systemd/label-printer-server.container
[Unit]
Description=Label Printer Server
[Container]
Image=ghcr.io/control-alt-repeat/label-printer/server:latest
Volume=/home/control-alt-repeat/.aws:/root/.aws:ro
Volume=/dev:/dev:slave
PodmanArgs=--privileged
[Service]
Restart=always
[Install]
WantedBy=multi-user.target default.target- Reload
sudo systemctl daemon-reload-
Add AWS credentials. On load, the server will add the dynamically generated hostname to AWS Parameter Store.
-
Start the service
sudo systemctl start label-printer-server.service- Check it's running
journalctl -xeu label-printer-server.service