-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
65 lines (57 loc) · 1.58 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
64
65
version: '2.4'
services:
db:
image: postgres:10.6
environment:
POSTGRES_USER: odoo
POSTGRES_PASSWORD: odoo
POSTGRES_DB: postgres
PGDATA: /var/lib/postgresql/data/pgdata
volumes:
- db:/var/lib/postgresql/data/pgdata
redis:
image: redis:4-alpine
volumes:
- redis:/data
command:
- redis-server
- --appendonly
- 'yes'
odoo:
image: druidoo/odoo-saas:13.0-enterprise
ports:
- "8069:8069"
tty: true
stdin_open: true
environment:
PGDATABASE: test
WAIT_PG: 'true'
LIST_DB: 'true'
UNACCENT: 'true'
LOG_LEVEL: 'debug'
# Odoo-saas
FIXDBS: 'true'
SERVER_MODE: Dev
SERVER_WIDE_MODULES: base,web,server_mode,saas_client
# Redis session store (only if odoo-saas)
REDIS_HOST: redis
ENABLE_REDIS: 'True'
# Custom config
CUSTOM_CONFIG: |-
[options]
# Custom requirements.txt
CUSTOM_REQUIREMENTS: |-
# custom pip libraries
volumes:
- ./repositories:/home/odoo/custom/repositories:rw,z
- filestore:/home/odoo/data
# Timezone from host
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
depends_on:
- db
- redis
volumes:
db:
filestore:
redis: