Initial commit
This commit is contained in:
commit
24cb728ba2
24
docker-compose.yml
Normal file
24
docker-compose.yml
Normal file
@ -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:
|
Loading…
Reference in New Issue
Block a user