Skip to content

Instantly share code, notes, and snippets.

@yk2kus
Created July 5, 2023 14:27
Show Gist options
  • Save yk2kus/4d90a92dc4594ccec8d7f4e20400290f to your computer and use it in GitHub Desktop.
Save yk2kus/4d90a92dc4594ccec8d7f4e20400290f to your computer and use it in GitHub Desktop.
version: '3.1'
services:
web:
image: odoo:16.0
depends_on:
- db
ports:
- "8069:8069"
volumes:
- odoo-web-data:/var/lib/odoo
- ./config:/etc/odoo
- ./addons:/mnt/extra-addons
environment:
- USER=odoo
- PASSWORD=myodoo
db:
image: postgres:15
environment:
- POSTGRES_DB=postgres
- POSTGRES_PASSWORD=myodoo
- 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