forked from minhng92/odoo-15-docker-compose
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
35 lines (33 loc) · 869 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
version: '2'
services:
db:
image: postgres:14
user: root
environment:
- POSTGRES_USER=odoo
- POSTGRES_PASSWORD=odoo15@2022
- POSTGRES_DB=postgres
restart: always # run as a service
volumes:
- ./postgresql:/var/lib/postgresql/data
odoo15:
image: odoo:15
user: root
depends_on:
- db
ports:
- "10015:8069"
- "20015:8072" # live chat
tty: true
command: --
environment:
- HOST=db
- USER=odoo
- PASSWORD=odoo15@2022
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