-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
49 lines (47 loc) · 1.02 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
version: '3'
services:
odoo:
build: .
container_name: odoo15
restart: unless-stopped
command: >
/usr/bin/python3 -m debugpy --listen 0.0.0.0:3000 /usr/bin/odoo
-d astra
-i muk_web_theme,account_asset_management,report_xlsx_helper
--dev=all
--db_user=odoo
--db_host=db
--db_password=odoo
--load-language=es_ES
depends_on:
- db
ports:
- "8015:8069"
- "3015:3000"
volumes:
- ./config:/etc/odoo
- ./addons:/mnt/extra-addons
- ./OCA:/mnt/oca
- ./filestore:/root/.local/share/Odoo/filestore:rw,z
networks:
- net
db:
image: postgres:latest
container_name: odoo15-db
restart: unless-stopped
ports:
- "5415:5432"
environment:
- POSTGRES_DB=postgres
- POSTGRES_PASSWORD=odoo
- POSTGRES_USER=odoo
- PGDATA=/var/lib/postgresql/data/pgdata
volumes:
- odoo-db:/var/lib/postgresql/data
networks:
- net
volumes:
odoo-web:
odoo-db:
networks:
net: