Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aartintelligent/docker-odoo

Docker Odoo Base
https://github.com/aartintelligent/docker-odoo

docker docker-compose odoo

Last synced: 25 days ago
JSON representation

Docker Odoo Base

Awesome Lists containing this project

README

        

Docker Odoo
=============

### Usage Docker

```shell
docker build . -t aartintelligent/odoo:latest
```

```shell
docker push aartintelligent/odoo:latest
```

### Usage Docker Compose

```shell
docker compose build
```

```shell
docker compose up -d
```

```shell
docker compose down -v
```

### Compose

```yaml
services:

database:
image: postgres:17
user: root
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=${POSTGRES_USER:-odoo}
- POSTGRES_PASSWORD=${POSTGRES_USER:-password}
- PGDATA=/var/lib/postgresql/data/pgdata
volumes:
- database-volume:/var/lib/postgresql/data
# - /opt/postgres/data:/var/lib/postgresql/data
ports:
- "5432:5432"

odoo:
build:
context: .
volumes:
- ./mnt/enterprise:/mnt/enterprise:ro
- ./mnt/addons:/mnt/addons:ro
- odoo-volume:/var/lib/odoo
# - /opt/odoo/data:/var/lib/odoo
ports:
- "8069:8069"
- "8072:8072"

volumes:
database-volume:
odoo-volume:
```