-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
101 lines (98 loc) · 2.55 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
version: '2'
services:
master_db:
image: anassahmed/postgres:9.4
build: postgres
environment:
- POSTGRES_USER=odoo
- POSTGRES_PASSWORD=odoo
networks:
master_network:
aliases:
- db
branch1_network:
aliases:
- master_db
branch2_network:
aliases:
- master_db
master_odoo:
image: docker.io/library/odoo:10.0
environment:
- POSTGRES_USER=odoo
- POSTGRES_PASSWORD=odoo
networks:
- master_network
ports:
- "8010:8069"
volumes:
- odoo_data:/var/lib/odoo
master_bucardo:
image: anassahmed/bucardo:9.4
build: bucardo
environment:
- BUCARDO_HOST=master_db
- BUCARDO_PORT=5432
- BUCARDO_DB=bucardo
- BUCARDO_USER=bucardo
- BUCARDO_PASSWORD=bucardo
networks:
master_network:
branch1_network:
branch2_network:
branch1_db:
image: anassahmed/postgres:9.4
build: postgres
environment:
- POSTGRES_USER=odoo
- POSTGRES_PASSWORD=odoo
networks:
master_network:
branch1_network:
aliases:
- db
volumes:
- branch1_db_data:/var/lib/postgresql/data:rw
branch1_odoo:
image: docker.io/library/odoo:10.0
environment:
- POSTGRES_USER=odoo
- POSTGRES_PASSWORD=odoo
networks:
- branch1_network
ports:
- "8020:8069"
volumes:
- odoo_data:/var/lib/odoo
branch2_db:
image: anassahmed/postgres:9.4
build: postgres
environment:
- POSTGRES_USER=odoo
- POSTGRES_PASSWORD=odoo
networks:
master_network:
branch2_network:
aliases:
- db
volumes:
- branch2_db_data:/var/lib/postgresql/data:rw
branch2_odoo:
image: docker.io/library/odoo:10.0
environment:
- POSTGRES_USER=odoo
- POSTGRES_PASSWORD=odoo
networks:
- branch2_network
ports:
- "8030:8069"
volumes:
- odoo_data:/var/lib/odoo
networks:
master_network:
branch1_network:
branch2_network:
volumes:
branch1_db_data:
branch2_db_data:
odoo_data: