-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-services.yml
More file actions
79 lines (70 loc) · 2 KB
/
docker-services.yml
File metadata and controls
79 lines (70 loc) · 2 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
#
# Copyright (C) 2021 Storm Project
#
# storm-bundle 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.2"
services:
stormws:
image: stormproject/storm-ws:latest
restart: "unless-stopped"
env_file:
- config/app/ws/config-env
- config/app/general/config-env
portal:
image: stormproject/storm-portal:latest
restart: "unless-stopped"
env_file:
- config/app/portal/config-env
- config/app/general/config-env
cache:
image: redis
restart: "unless-stopped"
read_only: true
ports:
- "6379:6379"
rabbitmq:
image: rabbitmq:3.8-management
restart: "unless-stopped"
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:7.10.2
restart: "unless-stopped"
environment:
- bootstrap.memory_lock=true
- discovery.type=single-node
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
healthcheck:
test: [ "CMD", "curl", "-f", "localhost:9200/_cluster/health?wait_for_status=green" ]
interval: 30s
timeout: 30s
retries: 5
ulimits:
memlock:
soft: -1
hard: -1
mem_limit: 1g
ports:
- "9200:9200"
- "9300:9300"
kibana:
image: docker.elastic.co/kibana/kibana-oss:7.10.2
environment:
- "ELASTICSEARCH_HOSTS=http://elasticsearch:9200"
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ports:
- "5601:5601"
database:
image: postgres:12.4
restart: "unless-stopped"
env_file:
- config/app/ws/config-env
- config/app/general/config-env
ports:
- "5432:5432"
nginx:
image: "nginx:1.20.2"
restart: "unless-stopped"
ports:
- "80"
- "443"