forked from buerokratt/Training-Module
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
84 lines (83 loc) · 2.41 KB
/
docker-compose.yml
File metadata and controls
84 lines (83 loc) · 2.41 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
79
80
81
82
83
84
version: '3.9'
services:
ruuter:
container_name: byk-private-ruuter
build:
context: ./ruuter
dockerfile: Dockerfile
environment:
- application.cors.allowedOrigins=http://localhost:3001, http://localhost:3002
volumes:
- ./DSL/Ruuter.private:/DSL
ports:
- 8080:8080
networks:
- bykstack
resql:
container_name: byk-resql
build:
context: ./Resql
dockerfile: Dockerfile
ports:
- 8082:8082
volumes:
- ./DSL/Resql:/workspace/app/templates/
networks:
- bykstack
opensearch-node:
image: opensearchproject/opensearch:latest
container_name: opensearch-node
environment:
- cluster.name=opensearch-cluster # Name the cluster
- node.name=opensearch-node # Name the node that will run in this container
- discovery.type=single-node
- bootstrap.memory_lock=true # Disable JVM heap memory swapping
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m" # Set min and max JVM heap sizes to at least 50% of system RAM
- "DISABLE_INSTALL_DEMO_CONFIG=true" # Prevents execution of bundled demo script which installs demo certificates and security configurations to OpenSearch
- "DISABLE_SECURITY_PLUGIN=true" # Disables security plugin
ulimits:
memlock:
soft: -1 # Set memlock to unlimited (no soft or hard limit)
hard: -1
nofile:
soft: 65536 # Maximum number of open files for the opensearch user - set to at least 65536
hard: 65536
volumes:
- opensearch-data:/usr/share/opensearch/data # Creates volume called opensearch-data1 and mounts it to the container
ports:
- 9200:9200 # REST API
- 9600:9600 # Performance Analyzer
networks:
- bykstack # All of the containers will join the same Docker bridge network
node:
container_name: node
build:
context: ./DSL/DataMapper
volumes:
- ./mock1:/mock1
- ../Service-Module/DSL/mock1:/mock1
ports:
- 3000:3000
networks:
- bykstack
training_gui:
container_name: training_gui
build:
context: ./GUI
target: web
dockerfile: Dockerfile
ports:
- 3001:80
volumes:
- /app/node_modules
- ./GUI:/app
networks:
- bykstack
volumes:
opensearch-data:
networks:
bykstack:
name: bykstack
driver: bridge
driver_opts:
com.docker.network.driver.mtu: 1400