forked from CERNDocumentServer/cds-ils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-services.yml
58 lines (57 loc) · 1.63 KB
/
docker-services.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
# -*- coding: utf-8 -*-
#
# Copyright (C) 2019 CERN.
#
# CDS-ILS is free software; you can redistribute it and/or modify it under
# the terms of the MIT License; see LICENSE file for more details.
version: "2.3"
services:
cache:
image: redis:7
restart: "always"
read_only: true
ports:
- "6379:6379"
db:
image: postgres:12.4
restart: "always"
environment:
- "POSTGRES_USER=invenio"
- "POSTGRES_PASSWORD=invenio"
- "POSTGRES_DB=invenio"
ports:
- "5432:5432"
mq:
image: rabbitmq:3-management
restart: "always"
ports:
- "15672:15672"
- "5672:5672"
search:
# to use ES7: docker.elastic.co/elasticsearch/elasticsearch-oss:7.9.1
image: opensearchproject/opensearch:2.5.0
environment:
- bootstrap.memory_lock=true
- compatibility.override_main_response_version=true
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m"
- "DISABLE_INSTALL_DEMO_CONFIG=true"
- "DISABLE_SECURITY_PLUGIN=true"
- discovery.type=single-node
# Enable the following config for testing big datasets e.g 100k records
# - cluster.routing.allocation.disk.threshold_enabled=true
# - cluster.routing.allocation.disk.watermark.flood_stage=1gb
# - cluster.routing.allocation.disk.watermark.low=100gb
# - cluster.routing.allocation.disk.watermark.high=50gb
ulimits:
memlock:
soft: -1
hard: -1
mem_limit: 1g
ports:
- "9200:9200"
- "9300:9300"
flower:
image: mher/flower
command: --broker=amqp://guest:guest@mq:5672/ --broker_api=http://guest:guest@mq:15672/api/
ports:
- "5555:5555"