Last active
February 19, 2024 16:36
-
-
Save w0rldart/ac8b6d4bc8901902fb1625cac71894a3 to your computer and use it in GitHub Desktop.
Odoo 17 with docker compose watch
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.1' | |
services: | |
odoo: | |
image: odoo:17.0 | |
command: odoo --dev all | |
depends_on: | |
- db | |
ports: | |
- "8069:8069" | |
- "8072:8072" | |
volumes: | |
- odoo:/var/lib/odoo | |
- ./etc:/etc/odoo | |
- ./config:/etc/odoo | |
- ./extra-addons:/mnt/extra-addons | |
environment: | |
- HOST=db | |
- USER=odoo | |
- PASSWORD=myodoo | |
db: | |
image: postgres:16 | |
environment: | |
- POSTGRES_DB=postgres | |
- POSTGRES_PASSWORD=myodoo | |
- POSTGRES_USER=odoo | |
- PGDATA=/var/lib/postgresql/data/pgdata | |
volumes: | |
- db:/var/lib/postgresql/data/pgdata | |
volumes: | |
odoo: | |
db: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment