mirror of
https://github.com/shadow1ng/fscan.git
synced 2025-07-13 12:52:44 +08:00
feat: 增加RabbitMQ测试环境
This commit is contained in:
parent
eb1b0f32a6
commit
70d008ba69
10
TestDocker/RabbitMQ/Dockerfile
Normal file
10
TestDocker/RabbitMQ/Dockerfile
Normal file
@ -0,0 +1,10 @@
|
||||
FROM rabbitmq:3-management
|
||||
|
||||
# 环境变量设置默认的用户名和密码
|
||||
ENV RABBITMQ_DEFAULT_USER=admin
|
||||
ENV RABBITMQ_DEFAULT_PASS=123456
|
||||
|
||||
# 开放标准端口
|
||||
# 5672: AMQP 协议端口
|
||||
# 15672: HTTP API 端口和管理UI
|
||||
EXPOSE 5672 15672
|
2
TestDocker/RabbitMQ/README.txt
Normal file
2
TestDocker/RabbitMQ/README.txt
Normal file
@ -0,0 +1,2 @@
|
||||
docker build -t rabbitmq-weak .
|
||||
docker run -d --name rabbitmq-test -p 5672:5672 -p 15672:15672 rabbitmq-weak
|
Loading…
Reference in New Issue
Block a user