From 0ef8ecf334e73751bc28013bf7a308eccea68055 Mon Sep 17 00:00:00 2001 From: Many Kasiriha Date: Mon, 5 Feb 2024 21:57:22 +0000 Subject: [PATCH] Add same network --- start_grafana.sh | 2 +- start_influxdb.sh | 2 +- start_postgresql.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/start_grafana.sh b/start_grafana.sh index 29c9d97..9dec0bf 100755 --- a/start_grafana.sh +++ b/start_grafana.sh @@ -1,2 +1,2 @@ #!/bin/bash -docker run -d -p 3000:3000 --name=grafana --user "$(id -u)" --volume "$PWD/grafana-data:/var/lib/grafana" grafana/grafana-enterprise \ No newline at end of file +docker run -d -p 3000:3000 --name=grafana --user "$(id -u)" --volume "$PWD/grafana-data:/var/lib/grafana" --network=robot grafana/grafana-enterprise \ No newline at end of file diff --git a/start_influxdb.sh b/start_influxdb.sh index 0d5374d..30963a8 100755 --- a/start_influxdb.sh +++ b/start_influxdb.sh @@ -1,2 +1,2 @@ #!/bin/bash -docker run -d -p 8086:8086 -v "$PWD/influx-data:/var/lib/influxdb2" influxdb:latest \ No newline at end of file +docker run -d -p 8086:8086 -v "$PWD/influx-data:/var/lib/influxdb2" --network=robot influxdb:latest \ No newline at end of file diff --git a/start_postgresql.sh b/start_postgresql.sh index 7d2440c..e64dcf8 100755 --- a/start_postgresql.sh +++ b/start_postgresql.sh @@ -1,2 +1,2 @@ #!/bin/bash -docker run -d -p 5432:5432 -e POSTGRES_PASSWORD=robotframework -e PGDATA=/var/lib/postgresql/data/pgdata -v "$PWD/postgresql-data:/var/lib/postgresql/data" postgres \ No newline at end of file +docker run -d -p 5432:5432 --name=postgres -e POSTGRES_PASSWORD=robotframework -e PGDATA=/var/lib/postgresql/data/pgdata -v "$PWD/postgresql-data:/var/lib/postgresql/data" --network=robot postgres \ No newline at end of file