# You need to run 'sysctl -w vm.max_map_count=262144' on the host machine version: '2' services: elasticsearch5: image: elasticsearch:5 command: elasticsearch ports: - '10200:9200' - '10300:9300' fake-elastic5-data: image: grafana/fake-data-gen links: - elasticsearch5 # network_mode: bridge environment: FD_DATASOURCE: elasticsearch FD_PORT: 10200