-
Notifications
You must be signed in to change notification settings - Fork 9
/
odoo.yml
42 lines (41 loc) · 876 Bytes
/
odoo.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
version: "2"
services:
postgres:
image: postgres:11.2
container_name: postgres
restart: always
ports:
- "5432:5432"
environment:
- POSTGRES_DB=postgres
- POSTGRES_PASSWORD=odoo
- POSTGRES_USER=odoo
- PGDATA=/var/lib/postgresql/data/pgdata
volumes:
- /postgresql/data:/var/lib/postgresql/data/pgdata
networks:
mynetwork:
odoo:
image: newtratip/odoo:12.0
container_name: odoo
restart: always
ports:
- "6823:8069"
environment:
- HOST=postgres
- PORT=5432
- USER=odoo
- PASSWORD=odoo
volumes:
- /odoo/addons:/mnt/extra-addons
- /odoo/config:/etc/odoo
- /odoo/log:/var/log/odoo
- /odoo/data:/var/lib/odoo
depends_on:
- postgres
networks:
mynetwork:
networks:
mynetwork:
driver_opts:
encrypted: 1