Compare commits
	
		
			2 Commits
		
	
	
		
			78ab4aa15a
			...
			e3698f3626
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| e3698f3626 | |||
| 16305734e0 | 
							
								
								
									
										18
									
								
								Rabbitmq/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								Rabbitmq/Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
# 3.13 management
 | 
			
		||||
FROM rabbitmq:3.13-rc
 | 
			
		||||
 | 
			
		||||
RUN set eux; \
 | 
			
		||||
	rabbitmq-plugins enable --offline rabbitmq_management; \
 | 
			
		||||
# make sure the metrics collector is re-enabled (disabled in the base image for Prometheus-style metrics by default)
 | 
			
		||||
	rm -f /etc/rabbitmq/conf.d/20-management_agent.disable_metrics_collector.conf; \
 | 
			
		||||
# grab "rabbitmqadmin" from inside the "rabbitmq_management-X.Y.Z" plugin folder
 | 
			
		||||
# see https://github.com/docker-library/rabbitmq/issues/207
 | 
			
		||||
	cp /plugins/rabbitmq_management-*/priv/www/cli/rabbitmqadmin /usr/local/bin/rabbitmqadmin; \
 | 
			
		||||
	[ -s /usr/local/bin/rabbitmqadmin ]; \
 | 
			
		||||
	chmod +x /usr/local/bin/rabbitmqadmin; \
 | 
			
		||||
	apt-get update; \
 | 
			
		||||
	apt-get install -y --no-install-recommends python3; \
 | 
			
		||||
	rm -rf /var/lib/apt/lists/*; \
 | 
			
		||||
	rabbitmqadmin --version
 | 
			
		||||
 | 
			
		||||
EXPOSE 15671 15672
 | 
			
		||||
@@ -1,14 +1,18 @@
 | 
			
		||||
---
 | 
			
		||||
version: '3'
 | 
			
		||||
services:
 | 
			
		||||
  file-browser:
 | 
			
		||||
    image: 
 | 
			
		||||
  rabbitmq:
 | 
			
		||||
    build: ./
 | 
			
		||||
    restart: unless-stopped
 | 
			
		||||
    container_name: rabbitmq
 | 
			
		||||
    # Configuration
 | 
			
		||||
    # https://www.rabbitmq.com/configure.html 
 | 
			
		||||
    volumes:
 | 
			
		||||
      - ./rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf
 | 
			
		||||
    security_opt:
 | 
			
		||||
      - no-new-privileges:true 
 | 
			
		||||
    environment:
 | 
			
		||||
      - RABBITMQ_DEFAULT_USER=username
 | 
			
		||||
      - RABBITMQ_DEFAULT_PASS=password
 | 
			
		||||
    ports:
 | 
			
		||||
      # Web-management
 | 
			
		||||
      - 8080:15672
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										0
									
								
								Rabbitmq/rabbitmq.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								Rabbitmq/rabbitmq.conf
									
									
									
									
									
										Normal file
									
								
							
		Reference in New Issue
	
	Block a user