- An InfluxDB install.
- Create a new InfluxDB bucket.
- Create an api token in InfluxDB with
WRITE
access to your newly made bucket.
You can run the image either by using docker run
or docker compose
.
- Put this inside the
docker-compose.yml
file.
version: '3'
services:
psgallery-module-downloads:
container_name: psgallery-module-downloads
image: norsknoobing/psgallery-module-downloads:latest
environment:
- PSGALLERY_PROFILE_NAME=
- INFLUX_HOST=
- INFLUX_BUCKET=
- INFLUX_ORG=
- INFLUX_TOKEN=
- Add all your ENV_VARS values after each equals sign.
- Run the container by using
docker compose up -d
in the directory where yourdocker-compose.yml
file is located.
Variable | Description | Required |
---|---|---|
PSGALLERY_PROFILE_NAME | The username of your PSGallery profile. | ✔ |
INFLUX_HOST | The hostname of your InfluxDB installation, including the port if applicable. I.e. 192.168.86.10:8086 , https://influxdb.example.com , or http://influxdb:8086 . It's important that you add the protocol when using a hostname, like in the last example. |
✔ |
INFLUX_BUCKET | The name of the InfluxDB bucket that the script should use. | ✔ |
INFLUX_ORG | The name or ID of your InfluxDB org. | ✔ |
INFLUX_TOKEN | An InfluxDB API token that has WRITE access to the bucket that you specified. |
✔ |