-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (43 loc) · 916 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
36
37
38
39
40
41
42
43
44
45
46
47
# Root file for the composition.
version: '2'
services:
odoo:
image: odoo:16.0
command:
--load-language fr_CH
depends_on:
- db
ports:
- 8069:8069
environment:
- DB_USER=odoo
- DB_PASSWORD=odoo
volumes:
- data-odoo:/var/lib/odoo
- "./local-src:/mnt/extra-addons"
- ./config:/etc/odoo
db:
image: postgres:12
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=odoo
- POSTGRES_PASSWORD=odoo
- PGDATA=/var/lib/postgresql/data/pgdata
ports:
- 5435:5440
volumes:
- data-db:/var/lib/postgresql/data/pgdata
nginx:
image: nginx:1.20
ports:
- 80:80
- 443:443
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
- ./nginx/log:/var/log/nginx
- ./nginx/files:/etc/letsencrypt/live/linkiz.com
depends_on:
- odoo
volumes:
data-odoo:
data-db: