-
Notifications
You must be signed in to change notification settings - Fork 15
/
ci.docker-compose.yml
61 lines (61 loc) · 1.61 KB
/
ci.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
services:
db:
environment:
- POSTGRES_USER=odoo
- POSTGRES_DB=db
- POSTGRES_PASSWORD=odoo
volumes:
- db:/var/lib/postgresql/data
image: postgres:13
elastic:
image: docker.elastic.co/elasticsearch/elasticsearch:7.0.0
environment:
- discovery.type=single-node
volumes:
- esdata:/usr/share/elasticsearch/data
odoo:
build:
context: odoo
dockerfile: Dockerfile-${ODOO_VERSION}
environment:
RUNNING_ENV: demo
DB_USER: odoo
DB_PASSWORD: odoo
DB_NAME: odoo-shopinvader-demo
DB_HOST: db
DB_FILTER: odoo-shopinvader-demo
SERVER_WIDE_MODULES: web,queue_job
ODOO_QUEUE_JOB_CHANNEL: =root:4,root.search_engine:4,root.search_engine.recompute_json:4,root.search_engine.prepare_batch_export:4
ADMIN_PASSWD: admin
UNACCENT: "true"
LIMIT_TIME_CPU: 900
LIMIT_TIME_REAL: 1800
MAX_CRON_THREADS: 1
LOG_LEVEL: info
ADDITIONAL_ODOO_RC: |-
[ir.config_parameter]
report.url=http://odoo:8069
depends_on:
- db
shopinvader:
build: .
environment:
- PGHOST=db
- PGUSER=odoo
- PGDATABASE=odoo-shopinvader-demo
- PGPASSWORD=odoo
- ALGOLIA_APP_ID=GH41KF783Z
- ELASTIC_IP=127.0.0.1
- ELASTIC_PORT=9200
- ALGOLIA_API_KEY=$ALGOLIA_API_KEY
volumes:
- .:/home/runner/work/locomotive-shopinvader/locomotive-shopinvader
- ./bundle:/usr/local/bundle
depends_on:
- odoo
- elastic
working_dir: /home/runner/work/locomotive-shopinvader/locomotive-shopinvader
volumes:
esdata:
db:
version: "3.8"