Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
21486 Vizualizări

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


Imagine profil
Abandonează
Cel mai bun răspuns

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 



Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează

but there should be a temple for that

Related Posts Răspunsuri Vizualizări Activitate
3
oct. 23
9003
1
sept. 23
3414
4
dec. 23
46000
1
mai 23
2373
2
apr. 23
2948