Skip to content

Commit

Permalink
Add same network
Browse files Browse the repository at this point in the history
  • Loading branch information
manykarim committed Feb 5, 2024
1 parent 550168d commit 0ef8ecf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion start_grafana.sh
Original file line number Diff line number Diff line change
@@ -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
docker run -d -p 3000:3000 --name=grafana --user "$(id -u)" --volume "$PWD/grafana-data:/var/lib/grafana" --network=robot grafana/grafana-enterprise
2 changes: 1 addition & 1 deletion start_influxdb.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
docker run -d -p 8086:8086 -v "$PWD/influx-data:/var/lib/influxdb2" influxdb:latest
docker run -d -p 8086:8086 -v "$PWD/influx-data:/var/lib/influxdb2" --network=robot influxdb:latest
2 changes: 1 addition & 1 deletion start_postgresql.sh
Original file line number Diff line number Diff line change
@@ -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
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

0 comments on commit 0ef8ecf

Please sign in to comment.