Sambapos 5.3.0 running on Ubuntu 18.04 with wine 5 and SQL SERVER 2019 Express Edition
103
SambaPOS 5 is a POS system running under windows ( https://sambapos.com , https://forum.sambapos.com ) .
This docker image is an attempt to run SambaPOS 5.3.0 on ubuntu 18.04 using Wine (winehq.org) and MS SQL Server for ubuntu ( https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-ubuntu?view=sql-server-ver15 )
run it with :
docker run -p 6080:80 -p 5900:5900 -p 1433:1433 -v /dev/shm:/dev/shm --volume /run/cups/cups.sock:/run/cups/cups.sock --env CUPS_SERVER=/run/cups/cups.sock -e 'TZ=America/La_Paz' devloic/sambapos:v1.4 /startup.sh
SambaPOS pin is 1234
Connect using your VNC client (ex Remmina) using localhost:5900 as the VNC server address ( any username and password will work)
This image is based on dorowu/ubuntu-desktop-lxde-vnc (https://hub.docker.com/r/dorowu/ubuntu-desktop-lxde-vnc/) which runs LXDE and allows access through VNC ( -p 5900:5900 ) or through a browser (noVNC with : -p 6080:80 ) opening http://localhost:6080 .
To be able to use your host printers you need to have your host printers configured with CUPS so they will be visible inside the container when you start it with the following options: --volume /run/cups/cups.sock:/run/cups/cups.sock --env CUPS_SERVER=/run/cups/cups.sock ( https://github.com/mviereck/x11docker/wiki/CUPS-printer-in-container )
MS SQL Server can be accessed from the host as long as you start the container with the according port mapped ( -p 1433:1433 ) . The image includes dbeaver (https://dbeaver.io ) a universal database client tool so you can browse the sambapos database .
Set the timezone you want modifying the following option : -e 'TZ=America/La_Paz' . That's important for SQL Server and SambaPOS to be in sync.
MS SQL Server and SambaPOS start automatically with supervisord calling /root/sambapos.sh at startup (change this behaviour in /etc/supervisor/conf.d/supervisord.conf , https://stackoverflow.com/questions/22421140/how-to-set-supervisor-to-run-a-shell-script )
SambaPOS starts windowed ( https://forum.sambapos.com/t/option-to-disable-full-screen-mode/7243 ) . You can modify that by removing the -windowed option in /root/sambapos.sh but it's not recommended for now as sometimes SambaPOS opens some prompt windows ( ex: starting / closing a work period) that get hidden in the background when sambaPOS runs fullscreen so you need to be able to move the SambaPOS main screen to access them.
You can reset sambaPOS deleting the sambapos database using dbeaver. SambaPOS runs at Unregistered Trial.
No dockerfile yet (maybe I can generate one using this https://stackoverflow.com/questions/19104847/how-to-generate-a-dockerfile-from-an-image )
REQUIRED:
This work pays tribute to Emre Eren .
Content type
Image
Digest
Size
2.6 GB
Last updated
almost 6 years ago
docker pull devloic/sambapos:v1.4