forked from svseas/merctrans-odoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
55 lines (53 loc) · 1.12 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
version: "3.1"
services:
web:
container_name: odoo_web
image: hglong16/odoo:latest
depends_on:
- db
volumes:
- odoo-web-data:/var/lib/odoo
- ./config:/etc/odoo
- ./local-addons:/mnt/extra-addons
environment:
- USER=odoo
- PASSWORD=odoo
ports:
- "8069:8069"
- "8072:8072"
networks:
- postgres
command: >
-u merctrans_projects
db:
image: postgres:13
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:
- postgres
pgadmin:
container_name: pgadmin_container
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:
- postgres
restart: unless-stopped
networks:
postgres:
driver: bridge
volumes:
odoo-web-data:
odoo-db-data:
pgadmin: