1
0
Fork 0
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.
odoo-pos-distribution/README.md

44 lines
1.1 KiB
Markdown
Raw Normal View History

2019-06-30 14:58:29 +00:00
# Odoo IoT Bock in Docker
2018-07-11 20:23:19 +00:00
2019-06-30 14:58:29 +00:00
Dockerfiles and Docker Compose configuration for running Odoo IoT Box in Docker.
Additionally it contains [pos-addons](https://github.com/it-projects-llc/pos-addons)
2018-07-11 20:23:19 +00:00
for using receipt printers over the network.
2018-07-14 15:24:04 +00:00
2019-06-30 14:58:29 +00:00
## Quickstart
1. `docker-compose up`
1. Connect to Odoo and create a new database
1. Install Odoo Apps:
* "Point of Sale"
* "POS Network Printer"
1. (Enable "Developer mode" under Odoo settings)
1. Configure PoS for IoT Box (see docs/iotbox-config.png)
1. Configure Order Printer (see docs/orderprinter.png)
2018-08-05 12:27:38 +00:00
## 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
```
2019-06-30 14:58:29 +00:00
## Notes
* Connection from PoS Tablet to IoT Box is a direct connection, not via Odoo server!