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

Hi guys!

I am looking at using Odoo with Docker deployment.

Within a Docker Compose project, it happens sometimes that PostgreSQL service is not ready and Odoo fails to start because it can't connect to the database (upon first time starting the PostgreSQL container, it needs initialization and take few more seconds than consecutive restarts):

psycopg2.OperationalError: could not connect to server: Connection refused

Even though I think the Odoo app itself should handle this case (likely by trying reconnecting few seconds later again instead of giving up and stopping short), there is a simple fix for Docker deployments. That is to wait for the database to be up before starting the Odoo app.

I propose a PR with the change: https://github.com/odoo/docker/pull/259

Would it be possible to get it reviewed/merged?

아바타
취소
관련 게시물 답글 화면 활동
1
9월 20
6332
0
1월 23
2623
1
2월 25
8772
1
11월 22
7327
1
7월 15
6370