commit 24cb728ba2cef10d64e2011dc9c55c3705d63743 Author: Vitaliy Turov Date: Wed Jan 8 18:58:38 2025 +0300 Initial commit 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: