Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerize #115

Open
wants to merge 2 commits into
base: 16.0
Choose a base branch
from
Open

Dockerize #115

wants to merge 2 commits into from

Conversation

nitin0211
Copy link

@nitin0211 nitin0211 commented Mar 25, 2024

Moved all the custom apps to addons folder. There might be a better way to do it in git to track the changes properly.

Run the docker
docker-compose -f local.yml up -d

After running above command we might get permission issue to execute entrypoint.sh file. To check the logs

docker container ls

Above command will give the container id for odoo 16. Now copy the container id and run below command

docker container logs --follow container_id

Check the screenshot below.
Screenshot 2024-03-25 at 8 04 44 PM

Now to resolve the permission issue, give the execution permission to .sh file using below command
chmod +x entrypoint.sh

Now stop the docker and run it again, check below screenshot
Screenshot 2024-03-25 at 8 06 02 PM

Now you can check the logs again, Docker should be up and running.

go to localhost:10014 (default master password: minhng.info)

If you want to change the default master password go to etc/odoo.conffile and search for admin_passwd and change it's value.

Add any python package requirements in etc/requirements.txt file

Database manager link http://localhost:10014/web/database/manager

@gmish27
Copy link

gmish27 commented May 4, 2024

this is a really helpful change @nitin0211 . Thank you for sharing with everybody

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants