This is a simple docker compose file built by Amr for faster building of odoo instances i hope its useful for someone good luck.
- Create a folder anywhere in your computer and name it ex. "odoo18".
- Open the "odoo18" Folder.
- Create file named odoo_pg_pass in the "odoo18" folder and put the password for odoo and postgres inside it.
- Create .env file from the sample in the "odoo18" folder. (It will be hidden when you create it so just unhide)
- Open the terminal in the "odoo18" folder.
- Run this command in the terminal "docker compose up -d" to create and run the continers.