Commit 49e756aa by Erik Sundell

use links instead of bridge network

parent aea74f0e
# You need to run 'sysctl -w vm.max_map_count=262144' on the host machine # You need to run 'sysctl -w vm.max_map_count=262144' on the host machine
version: '2'
services:
elasticsearch5: elasticsearch5:
image: elasticsearch:5 image: elasticsearch:5
command: elasticsearch command: elasticsearch
ports: ports:
- "10200:9200" - '10200:9200'
- "10300:9300" - '10300:9300'
fake-elastic5-data: fake-elastic5-data:
image: grafana/fake-data-gen image: grafana/fake-data-gen
network_mode: bridge links:
- elasticsearch5
# network_mode: bridge
environment: environment:
FD_DATASOURCE: elasticsearch FD_DATASOURCE: elasticsearch
FD_PORT: 10200 FD_PORT: 10200
version: '2'
services:
influxdb: influxdb:
image: influxdb:latest image: influxdb:latest
container_name: influxdb container_name: influxdb
ports: ports:
- "2004:2004" - '2004:2004'
- "8083:8083" - '8083:8083'
- "8086:8086" - '8086:8086'
volumes: volumes:
- ./docker/blocks/influxdb/influxdb.conf:/etc/influxdb/influxdb.conf - ./docker/blocks/influxdb/influxdb.conf:/etc/influxdb/influxdb.conf
fake-influxdb-data: fake-influxdb-data:
image: grafana/fake-data-gen image: grafana/fake-data-gen
network_mode: bridge links:
- influxdb
environment: environment:
FD_DATASOURCE: influxdb FD_DATASOURCE: influxdb
FD_PORT: 8086 FD_PORT: 8086
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment