first implementation

This commit is contained in:
Aleksandr Chvanov
2024-07-11 13:37:32 +03:00
commit 5acdc19fcc
5 changed files with 58 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
docker-compose.local.yml
.env
/deploy/rabbitmq_data

16
deploy/rabbitmq.conf Normal file
View File

@@ -0,0 +1,16 @@
loopback_users.guest = false
management.path_prefix = /rabbit
default_user = admin
default_pass = DSf3e45tdrs
# ssl? tcp?
# tcp хост.порт, ssl хост.порт
#management.tcp.port = 15672
#management.tcp.ip = 0.0.0.0
#management.ssl.port = 15671
#management.ssl.ip = 0.0.0.0
# пути до сертификатов
#management.ssl.cacertfile = /path/to/ca_certificate.pem
#management.ssl.certfile = /path/to/server_certificate.pem
#management.ssl.keyfile = /path/to/server_key.pem

19
docker-compose.dev.yml Normal file
View File

@@ -0,0 +1,19 @@
version: "3.8"
networks:
rabbitmq:
external: true
services:
rabbit:
container_name: sphere-rabbitmq
image: rabbitmq:3.9.5-management
networks:
- rabbitmq
restart: "no"
hostname: rabbitmq
ports:
- "15672:15672"
volumes:
- ./deploy/rabbitmq_data:/var/lib/rabbitmq/mnesia/
- ./deploy/rabbitmq.conf:/etc/rabbitmq/conf.d/10-default-guest-user.conf

20
docker-compose.test.yml Normal file
View File

@@ -0,0 +1,20 @@
version: "3.8"
networks:
nginx:
name: nginx
external: true
services:
rabbit:
container_name: sphere-rabbitmq
image: rabbitmq:3.9.5-management
networks:
- nginx
restart: "no"
hostname: rabbitmq
ports:
- "15672:15672"
volumes:
- ./deploy/rabbitmq_data:/var/lib/rabbitmq/mnesia/
- ./deploy/rabbitmq.conf:/etc/rabbitmq/conf.d/10-default-guest-user.conf

0
docker-compose.yml Normal file
View File