-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathdocker-compose.yml
63 lines (60 loc) · 1.21 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
version: "3.1"
services:
web:
image: odoo:16
container_name: web-odoo
depends_on:
- db
volumes:
- odoo-web-data:/var/lib/odoo
- ./config:/etc/odoo
- ./local-addons:/mnt/extra-addons
environment:
- USER=odoo
- PASSWORD=odoo
networks:
- odoo
db:
image: postgres:13
container_name: db-odoo
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
networks:
- odoo
pgadmin:
container_name: pgadmin-odoo
image: dpage/pgadmin4
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: admin
PGADMIN_CONFIG_SERVER_MODE: 'False'
volumes:
- pgadmin:/var/lib/pgadmin
ports:
- 5433:80
networks:
- odoo
restart: unless-stopped
proxy:
depends_on:
- web
container_name: odoo_proxy
build:
context: .
dockerfile: Dockerfile-nginx
ports:
- "8069:8069"
networks:
- odoo
networks:
odoo:
driver: bridge
volumes:
odoo-web-data:
odoo-db-data:
pgadmin: