mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-11-22 13:50:14 +00:00
updates
This commit is contained in:
parent
783b4eb02e
commit
e0d0831451
1 changed files with 4 additions and 9 deletions
|
@ -30,14 +30,13 @@ Now recreate the ultrafeeder container (`docker-compose up -d ultrafeeder`) and
|
||||||
On the machine where you will run Prometheus and Grafana, create a docker-compose file in the `/opt/grafana` directory:
|
On the machine where you will run Prometheus and Grafana, create a docker-compose file in the `/opt/grafana` directory:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
mkdir -p -m777 /opt/grafana/grafana/appdata /opt/grafana/prometheus/config /opt/grafana/prometheus/data && cd /opt/grafana
|
mkdir -p -m777 /opt/grafana/grafana/appdata /opt/grafana/prometheus/config /opt/grafana/prometheus/data
|
||||||
|
cd /opt/grafana
|
||||||
cat > docker-compose.yml
|
cat > docker-compose.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
Now paste in the following text *):
|
Now paste in the following text *):
|
||||||
|
|
||||||
*) The volume definition structure is written this way purposely to ensure that the containers can place files in the persistent directories. Do not try to "directly" map volumes (`/opt/grafana/grafana/appdata:/var/lib/grafana`).
|
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary><‐‐ Click the arrow to see the <code>docker-compose.yml</code> text</summary>
|
<summary><‐‐ Click the arrow to see the <code>docker-compose.yml</code> text</summary>
|
||||||
|
|
||||||
|
@ -96,13 +95,10 @@ services:
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
Once you have created and saved this `docker-compose.yml` file, give these commands to create the mapped volumes:
|
*) The volume definition structure is written this way purposely to ensure that the containers can place files in the persistent directories. Do not try to "directly" map volumes (`/opt/grafana/grafana/appdata:/var/lib/grafana`).
|
||||||
|
|
||||||
```bash
|
You should be able to see the following directories:
|
||||||
sudo mkdir -p -m777 /opt/grafana/appdata /opt/grafana/prometheus/config /opt/grafana/prometheus/data
|
|
||||||
```
|
|
||||||
|
|
||||||
Now, you should be able to see the following directories:
|
|
||||||
- `/opt/grafana/grafana/appdata`
|
- `/opt/grafana/grafana/appdata`
|
||||||
- `/opt/grafana/prometheus/config`
|
- `/opt/grafana/prometheus/config`
|
||||||
- `/opt/grafana/prometheus/data`
|
- `/opt/grafana/prometheus/data`
|
||||||
|
@ -110,7 +106,6 @@ Now, you should be able to see the following directories:
|
||||||
Download and create Grafana and Prometheus for the first time with this command:
|
Download and create Grafana and Prometheus for the first time with this command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd /opt/grafana
|
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue