Created
October 28, 2017 12:15
-
-
Save alpham/57188f93fe5a9d71f14b58236e2f923b to your computer and use it in GitHub Desktop.
docker compose file to run odoo 11
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:9.4 | |
deploy: | |
replicas: 1 | |
volumes: | |
- pgsql_data:/var/lib/postgresql/data:rw,Z | |
environment: | |
POSTGRES_USER: odoo | |
POSTGRES_PASSWORD: odoopwd | |
odoo: | |
image: odoo:11.0 | |
deploy: | |
replicas: 3 | |
volumes: | |
- odoo_data:/var/lib/odoo:rw,Z | |
environment: | |
POSTGRES_USER: odoo | |
POSTGRES_PASSWORD: odoopwd | |
ports: | |
- "8069" | |
volumes: | |
pgsql_data: | |
odoo_data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment