Vonng / pigsty

Battery-Included PostgreSQL Distro as a Free RDS Alternative
https://pigsty.io
GNU Affero General Public License v3.0
2.97k stars 241 forks source link

New docker application template: Odoo #383

Closed Vonng closed 2 months ago

Vonng commented 3 months ago

Odoo is a powerful ERP system based on PostgreSQL. It would be great to add to the docker templates without much effort.

We can add this to the demo site too, like odoo.pigsty

services:
  odoo:
    container_name: odoo
    image: odoo:17.0
    ports:
      - "${ODOO_PORT}:8069"
    volumes:
      - ./addons:/mnt/extra-addons
      #- ${ODOO_DATA}:/var/lib/odoo
      #- ./config:/etc/odoo
    environment:
      - HOST=${PG_HOST}
      - PORT=${PG_PORT}
      - USER=${PG_USER}
      - PASSWORD=${PG_PASS}
Vonng commented 2 months ago

Resolved , now available at https://github.com/Vonng/pigsty/tree/master/app/odoo