Skip to content

Commit 9e72870

Browse files
authored
Updated env key for Plane.watch to match config from sample-docker-compose.yml (#170)
1 parent 289e143 commit 9e72870

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

feeder-containers/feeding-plane-watch.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ nano /opt/adsb/.env
3131
This file holds all of the commonly used variables \(such as our latitude, longitude and altitude\). We're going to add our plane.watch variables to this file. Add the following lines to the file:
3232

3333
```shell
34-
PW_API_KEY=YOURAPIKEY
34+
PLANEWATCH_KEY=YOURAPIKEY
3535
```
3636

3737
* Replace `YOURAPIKEY` with the API KEY that was provided the previous step.
3838

3939
For example:
4040

4141
```shell
42-
PW_API_KEY=4e8413e6-52eb-11ea-8681-1c1b0d925d3g
42+
PLANEWATCH_KEY=4e8413e6-52eb-11ea-8681-1c1b0d925d3g
4343
```
4444

4545
## Deploying plane.watch feeder
@@ -59,7 +59,7 @@ Append the following lines to the end of the file \(inside the `services:` secti
5959
- LONG=${FEEDER_LONG}
6060
- ALT=${FEEDER_ALT_M}m
6161
- TZ=${FEEDER_TZ}
62-
- API_KEY=${PW_API_KEY}
62+
- API_KEY=${PLANEWATCH_KEY}
6363
tmpfs:
6464
- /run:exec,size=64M
6565
- /var/log
@@ -74,7 +74,7 @@ To explain what's going on in this addition:
7474
* `LONG` will use the `FEEDER_LONG` variable from your `.env` file.
7575
* `ALT` will use the `FEEDER_ALT_M` variable from your `.env` file.
7676
* `TZ` will use the `FEEDER_TZ` variable from your `.env` file.
77-
* `API_KEY` will use the `PW_API_KEY` variable from your `.env` file.
77+
* `API_KEY` will use the `PLANEWATCH_KEY` variable from your `.env` file.
7878
* We're using `tmpfs` for volumes that have regular I/O. Any files stored in a `tmpfs` mount are temporarily stored outside the container's writable layer. This helps to reduce:
7979
* The size of the container, by not writing changes to the underlying container; and
8080
* SD Card or SSD wear

0 commit comments

Comments
 (0)