-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
39 lines (36 loc) · 992 Bytes
/
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
# itk-version: 3.1.1
networks:
app:
driver: bridge
internal: false
services:
elasticsearch:
image: elasticsearch:8.13.0
restart: unless-stopped
networks:
- app
- ${IMPORTS_NETWORK_NAME:-eventbackend_app}
- ${API_NETWORK_NAME:-eventapi_app}
deploy:
resources:
limits:
memory: 4096M
reservations:
memory: 4096M
user: "1042"
volumes:
- ./.docker/data/elasticsearch:/usr/share/elasticsearch/data
environment:
- discovery.type=single-node
- xpack.security.enabled=false
# Should only be used if we need to have write access in the API (frontend).
# rabbit:
# image: rabbitmq:3.12.4-alpine
# networks:
# - app
# - ${IMPORTS_NETWORK_NAME:-eventbackend_app}
# - ${API_NETWORK_NAME:-eventapi_app}
# environment:
# - RABBITMQ_DEFAULT_USER=user
# - RABBITMQ_DEFAULT_PASS=password
# - RABBITMQ_ERLANG_COOKIE='d53f319cd7376f8f840aaf9889f315ab