Skip to content

Instantly share code, notes, and snippets.

@GabbasovDinar
Created June 1, 2018 07:29
Show Gist options
  • Save GabbasovDinar/1ba53c3babd38e61f6ca20a89eff0d02 to your computer and use it in GitHub Desktop.
Save GabbasovDinar/1ba53c3babd38e61f6ca20a89eff0d02 to your computer and use it in GitHub Desktop.
СОздание контейнера
===================
docker run -p 8069:8069 -p 8072:8072 -e ODOO_MASTER_PASS=admin -v ~/docker/odoo-11.0/misc-addons/:/mnt/addons/it-projects-llc/misc-addons/ --name odoo-11-misc --link db-odoo-11:db -t itprojectsllc/install-odoo:11.0 -- -d misc.odoo11.local --db-filter ^%h$ --limit-time-cpu=600 --limit-time-real=1200 -u theme_kit
loca container
docker run -p 8069:8069 -p 8072:8072 -e ODOO_MASTER_PASS=admin -v ~/docker/odoo-11.0/pos-addons/:/mnt/addons/it-projects-llc/pos-addons/ --name pos-11 --link db-odoo-11:db -t itprojectsllc/install-odoo:11.0 -- -d pos.odoo11.local --db-filter ^%h$ --limit-time-cpu=600 --limit-time-real=1200 -i pos_disable_payment,pos_discount_base,pos_discount_total,pos_longpolling,pos_mobile,pos_mobile_restaurant,pos_multi_session,pos_multi_session_restaurant,pos_multi_session_sync,pos_order_cancel,pos_order_cancel_restaurant,pos_order_note,pos_order_printer_product,pos_print_method,pos_printer_network,pos_product_category_discount,pos_restaurant_base,pos_orderline_absolute_discount,pos_cashier_select,pos_category_multi,pos_debranding
update path (if not display some modules)
docker exec -i -u root -t $ODOO_CONTAINER /bin/bash -c "export UPDATE_ADDONS_PATH='yes'; bash /install-odoo-saas.sh" && docker restart $ODOO_CONTAINER
local running test command
pos_cashier_select,pos_category_multi,pos_debranding,pos_debt_notebook,pos_disable_payment,pos_discount_base,pos_discount_total,pos_longpolling,pos_mobile,pos_mobile_restaurant,pos_multi_session,pos_multi_session_restaurant,pos_multi_session_sync,pos_order_cancel,pos_order_cancel_restaurant,pos_order_note,pos_order_printer_product,pos_print_method,pos_printer_network,pos_product_category_discount,pos_restaurant_base,pos_orderline_absolute_discount
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment