1
0
Fork 0
Odoo Point of Sale - PoS - Distribution. Dockerfiles and Kubernetes Configuration
This repository has been archived on 2022-08-09. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2018-08-05 15:49:46 +00:00
backup regular backup with restic 2018-08-05 12:27:38 +00:00
monitoring monitoring based on checkup 2018-08-05 15:49:46 +00:00
odoo mods for raspi and hw_screen 2018-07-22 15:59:06 +00:00
posbox mods for raspi and hw_screen 2018-07-22 15:59:06 +00:00
.gitignore monitoring based on checkup 2018-08-05 15:49:46 +00:00
checkup.json.example monitoring based on checkup 2018-08-05 15:49:46 +00:00
docker-compose.yml monitoring based on checkup 2018-08-05 15:49:46 +00:00
README.md regular backup with restic 2018-08-05 12:27:38 +00:00

Odoo PosBox in Docker

Dockerfiles and Docker Compose configuration for running Odoo PosBox in Docker. It additionally contains pos-addons for using receipt printers over the network.

Running on Raspberry Pi

The official Docker images of Odoo are not multi-arch compatible, the image needs to be rebuilt on arm.

  1. Change the FROM in the Dockerfile to FROM armhf/debian:stretch and build it as local/odoo:11.
  2. Change the FROM in odoo/Dockerfile to local/odoo:11.

Corresponding issue on GitHub: Support for ARM64v8 #195.

Backup configuration

Example contents of backup.env:

RESTIC_REPOSITORY=rclone:myremote:posbackup
RESTIC_PASSWORD=extremelysecurepassword
RCLONE_CONFIG_FWUCLOUD_TYPE=webdav
RCLONE_CONFIG_FWUCLOUD_URL=https://nextcloud.example.com/remote.php/webdav/
RCLONE_CONFIG_FWUCLOUD_VENDOR=nextcloud
RCLONE_CONFIG_FWUCLOUD_USER=backupuser
RCLONE_CONFIG_FWUCLOUD_PASS=encryptedpassword
PGDATABASE=odoodbname

Restore of DB:

createdb -T template0 restoretest
pg_restore -d restoretest /data/odoo_data.dump