Created
August 11, 2022 20:58
-
-
Save anoureldin/6f331c34f37f149d3ac26c70717c2945 to your computer and use it in GitHub Desktop.
odoo 15 docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
db: | |
image: postgres:13 | |
user: root | |
environment: | |
- POSTGRES_PASSWORD=odoo | |
- POSTGRES_USER=odoo | |
- POSTGRES_DB=postgres | |
restart: always # run as a service | |
volumes: | |
- ./postgresql:/var/lib/postgresql/data | |
odoo15: | |
image: odoo:15 | |
user: root | |
depends_on: | |
- db | |
ports: | |
- "10014:8069" | |
- "20014:8072" # live chat | |
tty: true | |
command: -- | |
# command: odoo scaffold /mnt/extra-addons/test_module | |
environment: | |
- HOST=db | |
- USER=odoo | |
- PASSWORD=odoo | |
volumes: | |
#- /etc/timezone:/etc/timezone:ro | |
#- /etc/localtime:/etc/localtime:ro | |
# - ./entrypoint.sh:/entrypoint.sh # if you want to install additional Python packages, uncomment this line! | |
- ./addons:/mnt/extra-addons | |
- ./etc:/etc/odoo | |
restart: always # run as a service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment