-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
64 lines (55 loc) · 1.19 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
version: '3.4'
x-default:
&default-odoo
tty: true
build: .
volumes:
- odoo-web-data:/var/lib/odoo
- ./odoo.conf:/etc/odoo/odoo.conf:ro
- ../../common:/mnt/common:ro
- ./:/mnt/project:ro
environment:
- WDB_SOCKET_SERVER=wdb
- WDB_NO_BROWSER_AUTO_OPEN=True
services:
odoo:
<< : *default-odoo
depends_on:
- db
- wdb
- proxy
- odoo-longpolling
- smtpfake
command: ['--dev', 'reload,qweb,werkzeug,xml',
'-d', 'dev',
'-i', 'sync_whatsapp',
]
odoo-longpolling:
<< : *default-odoo
depends_on:
- db
- wdb
- proxy
command: ['odoo', 'gevent', '--dev', 'reload,qweb,werkzeug,xml']
db:
image: postgres:10
environment:
- POSTGRES_DB=postgres
- POSTGRES_PASSWORD=odoo
- POSTGRES_USER=odoo
- PGDATA=/var/lib/postgresql/data/pgdata
volumes:
- odoo-db-data:/var/lib/postgresql/data/pgdata
ports:
- "14432:5432"
proxy:
image: envoyproxy/envoy-alpine:v1.10.0
ports: ['80:80']
volumes: ['./envoy.yaml:/etc/envoy/envoy.yaml']
wdb:
image: kozea/wdb:3.3.0
smtpfake:
image: mailhog/mailhog
volumes:
odoo-web-data:
odoo-db-data: