-
Notifications
You must be signed in to change notification settings - Fork 99
/
docker-compose.yml
36 lines (34 loc) · 910 Bytes
/
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
version: '2'
services:
db:
image: postgres:13
user: root
environment:
- POSTGRES_PASSWORD=odoo
- POSTGRES_USER=odoo
- POSTGRES_DB=postgres
restart: always # run as a service
volumes:
- ./postgresql:/var/lib/postgresql/data
odoo14:
image: odoo:14
user: root
depends_on:
- db
ports:
- "10014:8069"
- "20014:8072" # live chat
tty: true
command: --
# command: odoo scaffold /mnt/extra-addons/custom_module
environment:
- HOST=db
- USER=odoo
- PASSWORD=odoo
volumes:
#- /etc/timezone:/etc/timezone:ro
#- /etc/localtime:/etc/localtime:ro
# - ./entrypoint.sh:/entrypoint.sh # if you want to install additional Python packages, uncomment this line!
- ./addons:/mnt/extra-addons
- ./etc:/etc/odoo
restart: always # run as a service