Comments (2)
Can you reproduce this and share how you do? Can you share your exact docker command and or docker-compose.yml used?
from docker.
@lathama had been resolved by rearrange the Dockerfile and mount some py library
Here is my Dockerfile
FROM odoo:16.0
USER root
RUN DEBIAN_FRONTEND=noninteractive && \
apt-get update --fix-missing && \
apt install python3-pip && apt install tzdata
RUN rm -R /usr/lib/python3/dist-packages/OpenSSL
RUN ln -sf /usr/share/zoneinfo/Asia/Jakarta /etc/localtime
USER odoo
RUN python3 -m pip install cryptography==38.0.2 pdf2image odoo_test_helper coverage firebase-admin google-api-python-client google-auth-httplib2 google-auth-oauthlib html2text
with this docker-compose.yml
version: '3.1'
services:
odoo:
image: odoo-local:latest
build: .
environment:
- TZ=Asia/Jakarta
ports:
- "8069:8069"
volumes:
- odoo-web-data:/var/lib/odoo
- ./configs:/etc/odoo
- ./modules:/mnt/extra-addons
- ./lib/cryptography:/usr/lib/python3/dist-packages/cryptography
- ./lib/OpenSSL:/usr/lib/python3/dist-packages/OpenSSL
command:
- /entrypoint.sh
- odoo
- --test-tags
- training
db:
image: postgres:13
environment:
- TZ=Asia/Jakarta
- POSTGRES_USER=odoo
- POSTGRES_PASSWORD=odoo
- POSTGRES_DB=postgres
healthcheck:
test: ["CMD-SHELL", "pg_isready -U odoo -d postgres"]
interval: 10s
timeout: 5s
retries: 5
ports:
- 5432:5432
volumes:
- odoo-db-data:/var/lib/postgresql/data
- ./configs/postgresql.conf:/etc/postgresql/postgresql.conf
volumes:
odoo-web-data:
odoo-db-data:
Hope anyone experiencing the same issue with me, can be helped by that.
from docker.
Related Issues (20)
- docker map directory permission error HOT 2
- RuntimeError: can't start new thread HOT 4
- getting error 99 Cannot assign requested address in outgoing email server - Odoo 17.0 Community Edition HOT 2
- Database name configuration HOT 4
- Unable to obtain the real address of the external client HOT 3
- Oddo don't work on Unraid HOT 8
- Odoo 15 Unraid update never worked HOT 2
- Apply docker compose HOT 4
- Update the release version of Odoo 17. HOT 2
- odoo:15,how to upgrade to new version HOT 4
- [17.0] lxml.html.clean module is now a separate project lxml_html_clean HOT 2
- Update Odoo release in the dockerfile to include commit 7e9a873 HOT 4
- Location of HOT 2
- Need link to docs, or info for docker image & SSL HOT 9
- Two critical Security Issues HOT 1
- Database Manager does not work HOT 1
- [Feature Request] Could it be possible to add fail2ban to the docker image? HOT 5
- Odoo with high availability on AWS HOT 1
- Error exec /entrypoint.sh: no such file or directory when running Odoo 17 Docker image HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker.