[IMP]GOLEM better dev files
This commit is contained in:
parent
dbe775daa5
commit
4a4090c169
7
odoo/golem/Dockerfile.v3.dev
Normal file
7
odoo/golem/Dockerfile.v3.dev
Normal file
@ -0,0 +1,7 @@
|
||||
FROM registry.yaltik.net/golem:yaltikv3
|
||||
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
|
||||
|
||||
RUN pip install --user watchdog
|
||||
COPY shell10.sh ./
|
||||
COPY launch10.dev.sh ./launch10.sh
|
||||
ENV DEV 1
|
@ -17,7 +17,7 @@ services:
|
||||
service: odoodev10
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.v3
|
||||
dockerfile: Dockerfile.v3.dev
|
||||
image: golem:yaltikdev10
|
||||
volumes:
|
||||
- /home/fabien/bak/code/odoo/yaltik:/opt/odoo/custom-addons/yaltik:ro
|
||||
|
11
odoo/golem/launch10.dev.sh
Normal file
11
odoo/golem/launch10.dev.sh
Normal file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
CONF=/opt/odoo/odoo.conf
|
||||
ODOOCMD="python /opt/odoo/OCB/odoo-bin --config $CONF"
|
||||
|
||||
if [ "$DEV" == 1 ]; then
|
||||
ODOOCMD="$ODOOCMD --dev xml --log-handler :DEBUG"
|
||||
fi
|
||||
|
||||
# Configuration generation and Odoo launch
|
||||
bash genconf.sh && $ODOOCMD
|
3
odoo/golem/shell10.sh
Normal file
3
odoo/golem/shell10.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
python OCB/odoo-bin shell -c odoo.conf -d "$@" --xmlrpc-port=8999
|
Loading…
Reference in New Issue
Block a user