-support for 1.1.0

-adapted for unraid
This commit is contained in:
aaa
2024-06-19 00:52:08 +02:00
parent 4f49692e6e
commit e3ac1698ef
5 changed files with 1850 additions and 6 deletions

View File

@@ -12,8 +12,8 @@ WORKDIR /code
COPY . .
RUN pip3 install --break-system-packages .
ENV IMMICH_API_TOKEN=""
ENV IMMICH_HOST=""
ENV IMMICH_API_TOKEN="yourimmichtokenhere"
ENV IMMICH_HOST="host/ip"
ENV IMMICH_PORT="8080"
#has to be EXPORT_PORT 8000 or else it does not work, same applies to the env file
ENV EXPORTER_PORT="8000"

View File

@@ -8,15 +8,15 @@ A prometheus exporter for Immich. Get metrics from a server and offers them in a
Here is an example docker run command
```
docker run -e IMMICH_PORT=8080 -e IMMICH_HOST=192.168.178.1 -e IMMICH_API_TOKEN=<TOKEN> -p 8000:8000 alexf007/prometheus-immich-exporter
docker run -e IMMICH_PORT=8080 -e IMMICH_HOST=192.168.178.1 -e IMMICH_API_TOKEN=<TOKEN> -p 8000:8000 friendlyfriend/prometheus-immich-exporter
```
Or you can add the following to your immich docker-compose.yaml
```
immich-exporter:
image: alexf007/prometheus-immich-exporter
image: friendlyfriend/prometheus-immich-exporter
container_name: immich_exporter
environment:
- IMMICH_PORT=3001
- IMMICH_PORT=2283
- IMMICH_HOST=immich-server
- IMMICH_API_TOKEN=<TOKEN>
ports:

View File

@@ -2,7 +2,7 @@
## Import
To import the dashboard into your grafana, download the [dashboard.json](./dashboard-immich.json) file and import it into your server. Select your prometheus instance and that should be all.
To import the dashboard into your grafana, download the [dashboard.json](./dashboard-immich_1_2_0.json) file and import it into your server. Select your prometheus instance and that should be all.
The graphs can be customized in their relative time. Mind that it takes time to populate them if you set relative time to monthly or yearly

File diff suppressed because it is too large Load Diff