forked from odoo/odoo
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
58 lines (54 loc) · 1.09 KB
/
docker-compose.yml
File metadata and controls
58 lines (54 loc) · 1.09 KB
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
# version: '2'
services:
web:
build: .
stdin_open: true
tty: true
platform: linux/arm64
depends_on:
- db
ports:
- "8069:8069"
volumes:
- .:/mnt/prescrypto-odoo
- ./addons:/mnt/extra-addons
- ./prescrypto:/mnt/custom-addons
- ./output:/var/lib/odoo
- ./OpenUpgrade:/mnt/OpenUpgrade
env_file:
- db_variables
db:
image: postgres:14
ports:
- "5432:5432"
# environment:
# - POSTGRES_PASSWORD=odoo
# - POSTGRES_USER=odoo
# - POSTGRES_DB=postgres
# - PGDATA=/var/lib/postgresql/data/pgdata
env_file:
- db_variables
volumes:
- pgdata:/var/lib/postgresql/data/pgdata
pgadmin:
image: dpage/pgadmin4
depends_on:
- db
ports:
- "5050:80"
volumes:
- pgadmin:/pgadmin/config
- ./backup:/var/lib/pgadmin/backup
env_file:
- db_variables
# redis:
# image: redis:6.2-alpine
# restart: always
# ports:
# - "6379:6379"
# volumes:
# - redisdata:/data
volumes:
pgdata: {}
pgadmin: {}
redisdata: {}