Go to file
2024-09-01 12:34:37 +02:00
odoo Odoo 14 2024-09-01 12:34:37 +02:00
.env Odoo 14 2024-09-01 12:34:37 +02:00
docker-compose.yml Odoo 14 2024-09-01 12:34:37 +02:00
README.md Odoo 14 2024-09-01 12:34:37 +02:00

Odoo

Overview

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc. Odoo runs on python 3 and uses PostgreSQL database.

Development without docker-compose

rm -rf ~/postgres_data
mkdir ~/postgres_data
podman run -it --rm \
    --env "POSTGRES_USER=odoo" \
    --env "POSTGRES_PASSWORD=odoo" \
    --env "POSTGRES_DB=odoo" \
    --volume ~/postgres_data:/var/lib/postgresql/data \
    --ip 10.88.0.2 \
    docker.io/postgres:16-alpine
podman build -t odoo:latest odoo

rm -rf ~/odoo_{conf,data}
mkdir ~/odoo_{conf,data}
podman run -it --rm \
    --env-file .env \
    --volume ~/odoo_conf:/srv/odoo/conf \
    --volume ~/odoo_data:/srv/odoo/data \
    --add-host odoo-postgres:10.88.0.2 \
    --ip 10.88.0.3 \
    odoo:latest