-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #179 from jembi/PLAT-620-add-jempi-services
PLAT-620 Add JeMPI services
- Loading branch information
Showing
14 changed files
with
255 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
version: '3.9' | ||
|
||
services: | ||
jempi-api: | ||
ports: | ||
- published: 50000 | ||
target: 50000 | ||
protocol: tcp | ||
mode: host |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
version: '3.9' | ||
|
||
services: | ||
jempi-api: | ||
image: jembi/jempi-api:${JEMPI_API_IMAGE_TAG} | ||
deploy: | ||
replicas: 1 | ||
resources: | ||
limits: | ||
memory: ${JEMPI_API_MEMORY_LIMIT} | ||
reservations: | ||
memory: ${JEMPI_API_MEMORY_RESERVE} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
version: '3.9' | ||
|
||
services: | ||
jempi-sync-receiver: | ||
ports: | ||
- published: 50040 | ||
target: 50000 | ||
protocol: tcp | ||
mode: host | ||
|
||
jempi-controller: | ||
ports: | ||
- published: 50020 | ||
target: 50000 | ||
protocol: tcp | ||
mode: host | ||
|
||
jempi-linker: | ||
ports: | ||
- published: 50010 | ||
target: 50000 | ||
protocol: tcp | ||
mode: host |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
version: '3.9' | ||
|
||
services: | ||
jempi-async-receiver: | ||
image: jembi/jempi-async-receiver:${JEMPI_AJEMPI_SYNC_RECEIVER_IMAGE_TAG} | ||
deploy: | ||
replicas: 1 | ||
resources: | ||
limits: | ||
memory: ${JEMPI_ASYNC_RECEIVER_MEMORY_LIMIT} | ||
reservations: | ||
memory: ${JEMPI_ASYNC_RECEIVER_MEMORY_RESERVE} | ||
|
||
jempi-sync-receiver: | ||
image: jembi/jempi-sync-receiver:${JEMPI_SYNC_RECEIVER_IMAGE_TAG} | ||
deploy: | ||
replicas: 1 | ||
resources: | ||
limits: | ||
memory: ${JEMPI_SYNC_RECEIVER_MEMORY_LIMIT} | ||
reservations: | ||
memory: ${JEMPI_SYNC_RECEIVER_MEMORY_RESERVE} | ||
|
||
jempi-pre-processor: | ||
image: jembi/jempi-pre-processor:${JEMPI_PRE_PROCESSOR_IMAGE_TAG} | ||
deploy: | ||
replicas: 1 | ||
resources: | ||
limits: | ||
memory: ${JEMPI_PRE_PROCESSOR_MEMORY_LIMIT} | ||
reservations: | ||
memory: ${JEMPI_PRE_PROCESSOR_MEMORY_RESERVE} | ||
|
||
jempi-controller: | ||
image: jembi/jempi-controller:${JEMPI_CONTROLLER_IMAGE_TAG} | ||
deploy: | ||
replicas: 1 | ||
resources: | ||
limits: | ||
memory: ${JEMPI_CONTROLLER_MEMORY_LIMIT} | ||
reservations: | ||
memory: ${JEMPI_CONTROLLER_MEMORY_RESERVE} | ||
|
||
jempi-em-calculator: | ||
image: jembi/jempi-em-calculator:${JEMPI_EM_CALCULATOR_IMAGE_TAG} | ||
deploy: | ||
replicas: 1 | ||
resources: | ||
limits: | ||
memory: ${JEMPI_EM_CALCULATOR_MEMORY_LIMIT} | ||
reservations: | ||
memory: ${JEMPI_EM_CALCULATOR_MEMORY_RESERVE} | ||
|
||
jempi-linker: | ||
image: jembi/jempi-linker:${JEMPI_LINKER_IMAGE_TAG} | ||
deploy: | ||
replicas: 1 | ||
resources: | ||
limits: | ||
memory: ${JEMPI_LINKER_MEMORY_LIMIT} | ||
reservations: | ||
memory: ${JEMPI_LINKER_MEMORY_RESERVE} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
version: '3.9' | ||
|
||
services: | ||
jempi-zero-01: | ||
deploy: | ||
placement: | ||
constraints: | ||
- node.hostname == node-1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
version: '3.9' | ||
|
||
services: | ||
jempi-zero-01: | ||
ports: | ||
- published: 5080 | ||
target: 5080 | ||
protocol: tcp | ||
mode: host | ||
- published: 6080 | ||
target: 6080 | ||
protocol: tcp | ||
mode: host |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
version: '3.9' | ||
|
||
services: | ||
jempi-zero-01: | ||
image: dgraph/dgraph:v22.0.0 | ||
volumes: | ||
- jempi-zero-01-data:/dgraph | ||
deploy: | ||
replicas: 1 | ||
resources: | ||
limits: | ||
memory: ${JEMPI_ZERO_01_MEMORY_LIMIT} | ||
reservations: | ||
memory: ${JEMPI_ZERO_01_MEMORY_RESERVE} | ||
restart_policy: | ||
condition: on-failure | ||
command: dgraph zero --my=jempi-zero-01:5080 --replicas 1 | ||
|
||
volumes: | ||
jempi-zero-01-data: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.