From 24cb728ba2cef10d64e2011dc9c55c3705d63743 Mon Sep 17 00:00:00 2001 From: Vitaliy Turov Date: Wed, 8 Jan 2025 18:58:38 +0300 Subject: [PATCH] Initial commit --- docker-compose.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..280d2f9 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,24 @@ +version: '3.8' + +services: + nats: + image: nats:latest + container_name: nats + ports: + - "4222:4222" # Client connections port + - "8222:8222" # HTTP monitoring port + networks: + - nats_network + + dashboard: + image: sphqxe/nats-webui:latest + container_name: nats_web + ports: + - "3000:80" # Порт для доступа к веб UI + environment: + - NATS_URL=nats://nats:4222 # Адрес брокера NATS + networks: + - nats_network + +networks: + nats_network: