39 lines
907 B
Markdown
39 lines
907 B
Markdown
|
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
|
||
|
----------------------------------
|
||
|
|
||
|
```bash
|
||
|
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
|
||
|
```
|
||
|
|
||
|
```bash
|
||
|
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
|
||
|
```
|