Odoo aAFC docker compose file

db:

image: postgres:9.4
environment:
  - POSTGRES_USER=odoo
  - POSTGRES_PASS=[mot de passe de la base postgres]
volumes:
  - ./data/postgres:/var/lib/postgresql/data

odoo:

build: odoo
links:
  - db:db
environment:
  - VIRTUAL_HOST=sas.lachouettecoop.fr
  - VIRTUAL_PORT=8069
  - PGHOST=db
  - PGUSER=odoo
  - PGPASSWORD=[mot de passe pgp]
volumes:
  - ./data/odoo/etc:/etc/odoo
  - ./data/odoo/files:/var/lib/odoo
  - ./addons:/mnt/extra-addons:ro
  - ./AwesomeFoodCoops:/mnt/AwesomeFoodCoops:ro