Skip to content

Instantly share code, notes, and snippets.

@alpham
Created October 28, 2017 12:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save alpham/57188f93fe5a9d71f14b58236e2f923b to your computer and use it in GitHub Desktop.
Save alpham/57188f93fe5a9d71f14b58236e2f923b to your computer and use it in GitHub Desktop.
docker compose file to run odoo 11
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