RETIRED, Function as a Service for OpenStack
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

39 lines
743 B

version: '3'
services:
rabbitmq:
image: rabbitmq:3.7.2-management-alpine
restart: always
ports:
- "15672:15672"
networks:
- message-broker
hostname: rabbitmq
environment:
- RABBITMQ_VM_MEMORY_HIGH_WATERMARK=0.81
- RABBITMQ_DEFAULT_USER=qinling
- RABBITMQ_DEFAULT_PASS=qinling
- RABBITMQ_DEFAULT_VHOST=qinling
mysql:
image: mysql:8.0.3
restart: always
ports:
- "3306:3306"
volumes:
- mysql:/var/lib/mysql
networks:
- database
environment:
- MYSQL_ROOT_PASSWORD=qinling
- MYSQL_DATABASE=qinling
- MYSQL_USER=qinling
- MYSQL_PASSWORD=qinling
volumes:
rabbitmq:
mysql:
networks:
database:
message-broker: