-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
46 lines (42 loc) · 878 Bytes
/
Copy pathdocker-compose.yaml
File metadata and controls
46 lines (42 loc) · 878 Bytes
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
version: '3.8'
services:
postgres:
container_name: odoo-postgres
image: postgres:13-alpine
restart: unless-stopped
env_file:
- ./config/postgres/postgres.env
volumes:
- odoo-db-data:/var/lib/postgresql/data/odoo/
ports:
- 5432:5432/tcp
odoo:
container_name: odoo-frontend
build: .
restart: unless-stopped
depends_on:
- postgres
links:
- postgres:postgres
volumes:
- ./addons:/mnt/extra-addons
- ./config/odoo:/etc/odoo
- odoo-web-data:/var/lib/odoo
ports:
- 8069:8069/tcp
nginx:
container_name: odoo-proxy-pass
image: nginx:latest
volumes:
- ./config/nginx:/etc/nginx/conf.d
ports:
- 80:80
- 443:443
depends_on:
- odoo
restart: unless-stopped
links:
- odoo:odoo
volumes:
odoo-db-data:
odoo-web-data: