backup | ||
docs | ||
iotbox | ||
monitoring | ||
odoo | ||
.gitignore | ||
checkup.json.example | ||
docker-compose.yml | ||
README.md |
Odoo IoT Bock in Docker
Dockerfiles and Docker Compose configuration for running Odoo IoT Box in Docker.
Additionally it contains pos-addons for using receipt printers over the network.
Quickstart
docker-compose up
- Connect to Odoo and create a new database
- Install Odoo Apps:
- "Point of Sale"
- "POS Network Printer"
- (Enable "Developer mode" under Odoo settings)
- Configure PoS for IoT Box (see docs/iotbox-config.png)
- Configure Order Printer (see docs/orderprinter.png)
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