Created
October 4, 2018 17:48
-
-
Save juniorUsca/9e91b308fd5b2b3fea5b7e64a07bfd09 to your computer and use it in GitHub Desktop.
odoo docker compose
This file contains 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:11.0 | |
depends_on: | |
- db | |
ports: | |
- 80:8069 | |
- 443:8071 | |
volumes: | |
- odoo-web-data:/var/lib/odoo | |
- ./config:/etc/odoo | |
- ./addons:/mnt/extra-addons | |
environment: | |
- HOST=db | |
- USER=odoo | |
- PASSWORD=hcodoo | |
db: | |
image: postgres:9.6 | |
volumes: | |
- odoo-db-data:/var/lib/postgresql/data/pgdata | |
environment: | |
- POSTGRES_USER=odoo | |
- POSTGRES_PASSWORD=hcodoo | |
- PGDATA=/var/lib/postgresql/data/pgdata | |
volumes: | |
odoo-web-data: | |
driver: local | |
odoo-db-data: | |
driver: local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment