From 70632b59a6352c629b1e59a4a31b93a8c254478e Mon Sep 17 00:00:00 2001 From: mycroftsnm <58491232+mycroftsnm@users.noreply.github.com> Date: Wed, 23 Nov 2022 11:21:48 -0300 Subject: [PATCH] Initial commit Example compose.yml file --- compose.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 compose.yml diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..6061755 --- /dev/null +++ b/compose.yml @@ -0,0 +1,12 @@ +version: "3.7" +services: + openerp: + container_name: openerp + image: openerp-docker:latest + user: 1000:1000 # should be owner of volumes + network_mode: host + environment: + DISPLAY: $DISPLAY + volumes: + - "./foo:/home/user:rw" #folder to use as home (to save pdfs, an keep openerp config) + - "/var/run/cups/cups.sock:/var/run/cups/cups.sock:rw" #to use the printers which are available on the host. \ No newline at end of file