12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- version: '3'
- services:
- rabbitmq:
- image: rabbitmq:management
- container_name: rabbitmq
- ports:
- - "5671:5671"
- - "5672:5672"
- - "4369:4369"
- - "15671:15671"
- - "15672:15672"
- - "25672:25672"
- networks:
- - saas
- mongodb:
- image: mongo
- container_name: mongodb
- ports:
- - "27017:27017"
- volumes:
- - /data/mongodb:/data/db
- environment:
- MONGO_INITDB_ROOT_USERNAME: root
- MONGO_INITDB_ROOT_PASSWORD: select111***
- networks:
- - saas
- # mysql:
- # image: mysql:5.7
- # container_name: mysql
- # ports:
- # - "3306:3306"
- # environment:
- # MYSQL_ROOT_PASSWORD: select111***
- # volumes:
- # - ./data:/var/lib/mysql
- # - ./mysql/my.cnf:/etc/my.cnf
- # - ./mysql/init:/docker-entrypoint-initdb.d/
- # networks:
- # - saas
- # Elasticsearch, Logstash, Kibana
- # git clone https://github.com/deviantony/docker-elk.git
- # cd docker-elk
- # docker-compose up -d
- # 5000: Logstash TCP input
- # 9200: Elasticsearch HTTP
- # 9300: Elasticsearch TCP transport
- # 5601: Kibana
- networks:
- saas:
- driver: bridge
|