Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

DOCKER + ODOO 13 IN SYNOLOGY

Subscriure's

Get notified when there's activity on this post

This question has been flagged
synologyOdoo13.0
4 Respostes
17254 Vistes
Avatar
p.munoz@arkivolta.es

Good morning,

I have installed ODOO 13 in SYNOLOGY through DOCKER with POSTGRES 10 and everything has been installed correctly, because it starts in the container, but I am not able to access through LOCALHOST: 8069 or another port.

I don't know where the created base is (I'm new to this) and I've changed the parameters in docker-compose.yml but nothing.

I have changed the users and neither

Any clue where to start?

Thank you

I have been trying for two days, and at least now I have managed to install it with the DOCKER ...

0
Avatar
Descartar
Avatar
Lucia C.H.
Best Answer

Hi,

the answer given by Paresh Wagh is only half-way correct. I'll explain a little bit further:

Whenever you define an entry under "ports" in your compose file, it means "map this port of the host : to this port of the container". So "8071:8069" means 8071 is the host's port & 8069 is the port inside the container (odoo's default port in this case). Port 8069 must be declared as exposed in your dockerfile (EXPOSE 8069). You can expose any ports you'd like this way:

EXPOSE 8069 8070 8071 8072 ...

However, if you want to reach any of these exposed ports from the host, you have to declare a mapping just like you did.

ports:
- 8071:8069
- 1234:8070
- 5555:8071

...and so on. Note that the host's port does not have to be the same like the container's port!

Naturally, as the port on the left side of the mapping is the host's port, to reach Odoo on your localhost you have to address this port, in your case: http://localhost:8071

tl;dr:

There is no need to change the mapping from "8071:8069" to "8069:8069". Just keep in mind that the syntax is "HOST:CONTAINER" and address the host's port like localhost:HOST and you'll get there. :)

0
Avatar
Descartar
Avatar
p.munoz@arkivolta.es
Autor Best Answer

Gracias por la respuesta.

Mi docker-compose.yml es asi


version: '2'

services:

  web:

    image: odoo:latest

    depends_on:

      - db

    ports:

      - "8071:8069"

  db:

    image: postgres:10

    environment:

      - POSTGRES_DB=postgres

      - POSTGRES_PASSWORD=odoo

      - POSTGRES_USER=odoo


Creo que puede ser que no encuentra la base de datos "postgres" ¿?


0
Avatar
Descartar
Paresh Wagh

I have updated my earlier response

Avatar
Paresh Wagh
Best Answer

Hi:

You need to expose the ports in the container to the docker host. Check whether you have something that looks like the following in your docker compose file under the web/odoo service.

        ports:
            - "8069:8069"


EDIT (based on your yml file):

Change the ports definition to "8069:8069" and you will be able to access Odoo using http://locahost:8069

0
Avatar
Descartar
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
Odoo 13. Don't close a wizard when Click a button Solved
Odoo13.0
Avatar
Avatar
Avatar
Avatar
4
de maig 24
14052
Permission error while user printing excel sheet report in odoo 13 Solved
Odoo13.0
Avatar
Avatar
1
d’abr. 24
4300
One2many field edited from Transient Model cannot be made empty.
Odoo13.0
Avatar
0
de nov. 23
2988
Blank White Page After log in to Odoo13 Solved
Odoo13.0
Avatar
1
de set. 23
3122
How can I translate Options in Selection.field? Solved
Odoo13.0
Avatar
Avatar
2
d’ag. 23
5880
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now