-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yml
58 lines (54 loc) · 1.15 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
version: "2"
services:
db:
image: ursa/postgresql:latest
restart: always
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=odoo
- POSTGRES_PASSWORD=odoo
- PGDATA=/var/lib/postgresql/data/pgdata
volumes:
- "postgres-data:/var/lib/postgresql/data"
app:
build:
context: odoo
ports:
- "8069:8069"
- "8072:8072"
volumes:
- "odoo-data:/odoo/data"
depends_on:
- db
environment:
- PGHOST=db
- PGUSER=odoo
- PGPASSWORD=odoo
- MIGRATE=False
- MARABUNTA_MODE=base
- MARABUNTA_ALLOW_SERIE=True
#- MARABUNTA_FORCE_VERSION=setup
- PLATFORM=local
- RUNNING_ENV=dev
- ODOO_ADMIN_USER_TIMEZONE=America/Phoenix
- ODOO_ADMIN_USER_PASSWORD=admin
- ODOO_DBFILTER=False
- ODOO_LIST_DB=True
- ODOO_SERVER_WIDE_MODULES=web
stdin_open: true
tty: true
# cap_add:
# - sys_ptrace
mail:
image: mailhog/mailhog
ports:
- 8025:8025
# spy:
# image: ursa/pyspy:latest
# pid: "host"
# privileged: "true"
# volumes:
# - .:/profiles
volumes:
postgres-data:
odoo-data: