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/docker-compose.yml

61 lines
1.3 KiB
YAML
Raw Normal View History

2018-07-11 20:23:19 +00:00
version: '2'
services:
web:
2019-07-14 17:51:27 +00:00
image: docker.io/tobru/odoo-pos:latest-pos
2018-07-11 20:23:19 +00:00
build: ./odoo
depends_on:
- db
ports:
2018-07-22 15:59:06 +00:00
- 80:8069
2018-07-11 20:23:19 +00:00
volumes:
- odoo-web-data:/var/lib/odoo
2019-06-26 20:28:31 +00:00
environment:
- HOST=db
- USER=odoo
- PASSWORD=odoo
2019-06-27 20:47:28 +00:00
hostname: web
2018-07-11 20:23:19 +00:00
networks:
localnet:
ipv4_address: 10.5.0.2
2019-06-26 20:28:31 +00:00
iotbox:
2019-07-14 17:51:27 +00:00
image: docker.io/tobru/odoo-pos:latest-iotbox
2019-06-26 20:28:31 +00:00
build: ./iotbox
2019-06-27 20:23:53 +00:00
depends_on:
- db
2019-06-26 20:28:31 +00:00
command: -- --load=web,hw_proxy,hw_posbox_homepage,hw_posbox_upgrade,hw_scale,hw_scanner,hw_escpos,hw_blackbox_be,hw_screen,hw_drivers,hw_printer_network
2018-07-11 20:23:19 +00:00
ports:
- 8070:8069
- 8072:8072
volumes:
- /dev/bus/usb:/dev/bus/usb
2019-06-27 20:23:53 +00:00
environment:
- HOST=db
- USER=odoo
- PASSWORD=odoo
2019-06-27 20:47:28 +00:00
hostname: iotbox
2018-07-11 20:23:19 +00:00
networks:
localnet:
ipv4_address: 10.5.0.3
db:
2019-06-26 20:28:31 +00:00
image: postgres:10
2018-07-11 20:23:19 +00:00
environment:
2019-06-26 20:28:31 +00:00
- POSTGRES_DB=postgres
2018-07-11 20:23:19 +00:00
- POSTGRES_PASSWORD=odoo
- POSTGRES_USER=odoo
- PGDATA=/var/lib/postgresql/data/pgdata
volumes:
- odoo-db-data:/var/lib/postgresql/data/pgdata
networks:
localnet:
ipv4_address: 10.5.0.4
volumes:
odoo-web-data:
odoo-db-data:
networks:
localnet:
driver: bridge
ipam:
config:
- subnet: 10.5.0.0/16
gateway: 10.5.0.1