Created
November 23, 2019 01:39
-
-
Save swdevbali/a034acf55f401e6b19868acff649394b to your computer and use it in GitHub Desktop.
Quick Start Odoo using Docker-Compose
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: | |
web: | |
image: odoo:12.0 | |
depends_on: | |
- db | |
ports: | |
- "8069:8069" | |
volumes: | |
- odoo-web-data:/var/lib/odoo | |
- ./config:/etc/odoo | |
- ./addons:/mnt/extra-addons | |
db: | |
image: postgres:10 | |
environment: | |
- POSTGRES_DB=postgres | |
- POSTGRES_PASSWORD=odoo | |
- POSTGRES_USER=odoo | |
- PGDATA=/var/lib/postgresql/data/pgdata | |
volumes: | |
- odoo-db-data:/var/lib/postgresql/data/pgdata | |
volumes: | |
odoo-web-data: | |
odoo-db-data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment