Skip to content
Snippets Groups Projects
Commit 690830e4 authored by Yordan Kinkov's avatar Yordan Kinkov
Browse files

add nats messaging service in workspace

parent 62e3ba3b
Branches
No related tags found
1 merge request!25Add NATS messaging service in workspace
...@@ -142,3 +142,12 @@ services: ...@@ -142,3 +142,12 @@ services:
cap_add: cap_add:
- IPC_LOCK - IPC_LOCK
entrypoint: vault server -config=/vault/config/config.json entrypoint: vault server -config=/vault/config/config.json
nats:
hostname: nats
container_name: nats
image: 'nats:latest'
ports:
- "8222:8222"
- "6222:6222"
- "4222:4222"
...@@ -8,4 +8,5 @@ REDIS_ADDR="redis:6379" ...@@ -8,4 +8,5 @@ REDIS_ADDR="redis:6379"
REDIS_USER="" REDIS_USER=""
REDIS_PASS="" REDIS_PASS=""
REDIS_DB=0 REDIS_DB=0
REDIS_EXPIRATION="1h" REDIS_EXPIRATION="1h"
\ No newline at end of file NATS_ADDR="nats:4222"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment