Skip to Content
Menu
This question has been flagged
2 Replies
18919 Views

Why can't odoo.conf be updated in Docker,It can only be updated manually,

  • If you do not use Docker, installation odoo will be updated automatically.


 /etc/odoo/odoo.conf

[options]

addons_path = /mnt/extra-addons

data_dir = /var/lib/odoo

; admin_passwd = admin

; csv_internal_sep = ,

; db_maxconn = 64

; db_name = False

; db_template = template1

; dbfilter = .*

; debug_mode = False

; email_from = False

; limit_memory_hard = 2684354560

; limit_memory_soft = 2147483648

; limit_request = 8192

; limit_time_cpu = 60

; limit_time_real = 120

; list_db = True

; log_db = False

; log_handler = [':INFO']

; log_level = info

; logfile = None

; longpolling_port = 8072

; max_cron_threads = 2

; osv_memory_age_limit = 1.0

; osv_memory_count_limit = False

; smtp_password = False

; smtp_port = 25

; smtp_server = localhost

; smtp_ssl = False

; smtp_user = False

; workers = 0

; xmlrpc = True

; xmlrpc_interface =

; xmlrpc_port = 8069

; xmlrpcs = True

; xmlrpcs_interface =

; xmlrpcs_port = 8071


Avatar
Discard
Best Answer

Option 01:

Execute docker bash and edit the odoo.conf file

docker exec -it odoo15 bash

where odoo15 is the docker's container name

Then go to the odoo config folder and edit odoo.conf

Option 2:

Edit the docker configuration docker-compose.yml and add:

volumes:
- ./config:/etc/odoo
- ./extra-addons:/mnt/extra-addons

where  "./config" is the path in your folder where you can edit the file odoo.conf 



Avatar
Discard
Best Answer

Works fine here using docker.

Are you sure you have your config file in a volume, so it is persisted ?

snippet from docker-compose.yml

    volumes:

- web-conf:/etc/odoo

go to where the web-conf volume is and you can make changes and restart the container and it is picked up

Avatar
Discard

but there should be a temple for that

Related Posts Replies Views Activity
3
Oct 23
5984
1
Sep 23
1975
4
Dec 23
41309
1
May 23
1007
2
Apr 23
1379