콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
4365 화면

In one PostgreSQL server, I have 2 databases.

  • Database A
  • Database B

I want the following domain names to point to database A.

  • domain-A.com
  • www.domain-A.com
  • *.domain-A.com
    • subdomain-1.domain-A.com
    • subdomain-2.domain-A.com

I want the domain name below to point to database B.

  • domain-B.com
  • www.domain-B.com
  • *.domain-B.com
  • domain-B1.com
  • www.domain-B1.com
  • *.domain-B1.com

How can I set dbfilter?

아바타
취소
베스트 답변

Great!


But how to point domain1.com and domain2.com to one database as multiple companies or multiple websites?

아바타
취소
작성자 베스트 답변

Thank you very much for your reply! It worked.
Solved this problem for me.
But after evaluating and testing, I finally chose to deploy multiple odoo through docker to distinguish different database connections.

아바타
취소
베스트 답변

Hello, if you want:
- domain-A.com
- www.domain-A.com
- *.domain-A.com
​- subdomain-1.domain-A.com
​- subdomain-2.domain-A.com
Point to database A:
dbfilter = .*domain-A\.com$|^database A$|^subdomain-1\.domain-A\.com$

Use the same logic for domain B.


아바타
취소
작성자

Thank you very much for your reply! It worked.
Solved this problem for me.
But after evaluating and testing, I finally chose to deploy multiple odoo through docker to distinguish different database connections.

관련 게시물 답글 화면 활동
1
8월 15
4158
1
5월 25
2440
1
4월 25
3460
1
4월 25
4276
1
4월 25
1763