Open nitin0211 opened 7 months ago
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
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.
Now to resolve the permission issue, give the execution permission to .sh file using below command chmod +x entrypoint.sh
chmod +x entrypoint.sh
Now stop the docker and run it again, check below screenshot
Now you can check the logs again, Docker should be up and running.
go to localhost:10014 (default master password: minhng.info)
localhost:10014
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.
etc/odoo.conf
admin_passwd
Add any python package requirements in etc/requirements.txt file
etc/requirements.txt
Database manager link http://localhost:10014/web/database/manager
http://localhost:10014/web/database/manager
this is a really helpful change @nitin0211 . Thank you for sharing with everybody
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.
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
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.conf
file and search foradmin_passwd
and change it's value.Add any python package requirements in
etc/requirements.txt
fileDatabase manager link
http://localhost:10014/web/database/manager