Last active
February 10, 2022 22:34
-
-
Save gterdem/33bf376f897253bb326d16b972c50191 to your computer and use it in GitHub Desktop.
Docker-compose for ELK, RabbitMQ, MongoDb, SqlServer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3.7' | |
| services: | |
| sqlserver: | |
| environment: | |
| - SA_PASSWORD=yourStrong(!)Password | |
| - ACCEPT_EULA=Y | |
| ports: | |
| - "1433:1433" | |
| mongodb: | |
| ports: | |
| - "27017:27017" | |
| rabbitmq: | |
| ports: | |
| - "15672:15672" | |
| - "5672:5672" | |
| redis: | |
| ports: | |
| - "6379:6379" | |
| elasticsearch: | |
| volumes: | |
| - ./elk/elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro | |
| environment: | |
| - "ES_JAVA_OPTS=-Xms512m -Xmx512m" | |
| ports: | |
| - "9200:9200" | |
| logstash: | |
| volumes: | |
| - ./elk/logstash/config/logstash.yml:/usr/share/logstash/config/logstash.yml:ro | |
| - ./elk/logstash/pipeline:/usr/share/logstash/pipeline:ro | |
| environment: | |
| - "LS_JAVA_OPTS=-Xmx256m -Xms256m" | |
| ports: | |
| - "9600" | |
| - "5000" | |
| kibana: | |
| volumes: | |
| - ./elk/kibana/config/:/usr/share/kibana/config:ro | |
| ports: | |
| - 51510:5601 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3.7' | |
| services: | |
| sqlserver: | |
| image: mcr.microsoft.com/mssql/server | |
| volumes: | |
| - dbdata:/var/opt/mssql | |
| mongodb: | |
| image: mongo | |
| rabbitmq: | |
| image: 'rabbitmq:3-management-alpine' | |
| redis: | |
| image: redis:alpine | |
| elasticsearch: | |
| image: 'docker.elastic.co/elasticsearch/elasticsearch:7.8.0' | |
| volumes: | |
| - esdata:/usr/share/elasticsearch/data | |
| logstash: | |
| image: 'docker.elastic.co/logstash/logstash:7.8.0' | |
| depends_on: | |
| - elasticsearch | |
| kibana: | |
| image: 'docker.elastic.co/kibana/kibana:7.8.0' | |
| depends_on: | |
| - elasticsearch | |
| volumes: | |
| dbdata: | |
| esdata: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment