--- version: '3' services: odoo: build: odoo image: odoo:14.0.0-240826 restart: unless-stopped depends_on: - odoo-postgres env_file: - .env expose: - 8080 ports: - 8080:8080 volumes: - odoo_conf:/srv/odoo/conf - odoo_data:/srv/odoo/data odoo-postgres: image: postgres:16-alpine restart: unless-stopped environment: - POSTGRES_USER - POSTGRES_PASSWORD - POSTGRES_DB volumes: - postgres_data:/var/lib/postgresql/data volumes: odoo_conf: odoo_data: postgres_data: