Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
8103 Lượt xem

Hi,

I got to install Odoo 14 in my NAS QNAP 251D and works great but now I would like Odoo to be accesible from outside my LAN, be able to publish a website and so on. My Compose file on Container Station is:

version: '3'

services:

  web:

    image: odoo:latest

    restart: unless-stopped

    depends_on:

      - db

    ports:

      - "8070:8069"

    volumes:

      - /share/DockerVolumes/odoo14/odoo-web-data:/var/lib/odoo

      - /share/DockerVolumes/odoo14/config:/etc/odoo

      - /share/DockerVolumes/odoo14/addons:/mnt/extra-addons

  db:

    image: postgres:latest

    restart: unless-stopped

    environment:

      - POSTGRES_DB=postgres

      - POSTGRES_USER=odoo

      - POSTGRES_PASSWORD=odoo

      - PGDATA=/var/lib/postgresql/data/pgdata

    volumes:

      - /share/DockerVolumes/odoo14/odoo-db-data:/var/lib/postgresql/data/pgdata


I think, I could use the option "Virtual Host" from the NAS, but I have no idea how to link the folder on NAS "./Web" to where Odoo has its Web folder.
Currently, Odoo container uses a Virtual Switch with NAT connection.
I read about using Nginx proxy manager but I thought the Virtual Host from Qnap makes it unnecessary.
Any suggestions how to do it?
Thank you for your help.
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello Inaki,

I've been looking for a way to install odoo on a nas qnap like your model for months. Could you kindly tell me or send me the correct procedure to be able to do this? Thank you

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello Inaki, did you solve your question?

Ảnh đại diện
Huỷ bỏ
Tác giả

olá,

no, I set it up online, in a Ubuntu server at Contabo. I also hired a technician for that.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 10 23
7857
2
thg 11 22
7269
0
thg 10 22
4608
1
thg 7 24
1483
Portal Proveedores Đã xử lý
3
thg 5 24
2548