Docker MyOdoo 10 Public

Zunächst muss der Postgres Container gestartet werden: https://equitania.atlassian.net/wiki/x/uLZXAw 

Container Equitania/MyOdoo
# docker
cd /home/ownerp/Public/gitbase/myodoo-docker/Dockerfiles/myodoo-10-public

# Test Run
docker run -it --rm -p 10069:8069 -p 10072:8072 --name="public-myodoo10" --link myodoo10-db:db  myodoo/myodoo-10-public:180527 start

# Run
docker run -d --restart=always -p 10069:8069 -p 10072:8072 --name="public-myodoo10" --link myodoo10-db:db  myodoo/myodoo-10-public:180527 start

# Filestore auf Host mounten
docker run -d --restart=always -p 10069:8069 -p 10072:8072 --name="public-myodoo10" -v  myodoodata:/opt/odoo/data --link myodoo10-db:db  myodoo/myodoo-10-public:180527 start

# Update
docker run -it --rm -p 10069:8069 --name="public-myodoo10" --link myodoo10-db:db  myodoo/myodoo-10-public:180527 update --database=test --db_user=myodoo --db_password=myodoo10 --db_host=db


# Update im Container
sudo -i -u odoo /usr/bin/python \
    /opt/odoo/odoo-server/odoo.py \
    --update=all \
    --workers=0 \
    --no-xmlrpc \
    --database=test \
    --db_user=myodoo \
    --db_password=myodoo \
    --db_host=db \
    --stop-after-init

# Vorbereitete Datenbank ohne Kontenrahmen
https://release.myodoo.de/v10_basis_public_Build_170901_admin_myodoo2017.zip  

# Push to Dockerhub
$ docker push myodoo/public-myodoo10


# bash Zugriff 
docker exec -ti "public-myodoo10" env COLUMNS=$COLUMNS LINES=$LINES TERM=$TERM bash -l

Muster-Datenbank: https://release.myodoo.de/v10_basis_public_Build_170901_admin_myodoo2017.zip