Created
June 13, 2023 04:47
-
-
Save alisterct/db5762837f140ba489b7dc38f8daa6bc to your computer and use it in GitHub Desktop.
docker-compose file for Odoo module development
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: | |
postgres: | |
image: postgres:13 | |
environment: | |
- POSTGRES_USER=odoo | |
- POSTGRES_PASSWORD=xxx | |
- POSTGRES_DB=postgres | |
volumes: | |
- "postgres-data:/var/lib/postgresql/data" | |
odoo: | |
image: odoo:latest | |
ports: | |
- "8069:8069" | |
links: | |
- "postgres:db" | |
volumes: | |
- "odoo-data:/var/lib/odoo" | |
- type: bind | |
source: "./addons" | |
target: "/mnt/extra-addons" | |
volumes: | |
odoo-data: | |
postgres-data: | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment