Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prometheus env question - docker (compose) #310

Open
1mfaasj opened this issue Nov 19, 2024 · 1 comment
Open

Prometheus env question - docker (compose) #310

1mfaasj opened this issue Nov 19, 2024 · 1 comment

Comments

@1mfaasj
Copy link

1mfaasj commented Nov 19, 2024

Hello, I have a quick question, which may not even be a bug but I want to make sure.
When I set the OPTIONS prometheus environment, restic indicates that it is not recognized.

Do I have to build the restic server myself for this? but how do I get Prometheus support in it?
So in other words, there isn't prometheus in the docker image by default when I deploy it like this?

services:
  restic:
    container_name: restic
    image: restic/rest-server
    ports:
      - 8000:8000
    environment:
      - DISABLE_AUTHENTICATION=true
      - OPTIONS=--prometheus
    volumes:
      - /mnt/exdisk/restic:/data

Also other variants of OPTIONS do not work, so for instance when I:
- OPTIONS="--prometheus"
or:
- "OPTIONS=--prometheus"

I'm using the latest version of Restic and Restic rest server.

@1mfaasj
Copy link
Author

1mfaasj commented Dec 7, 2024

anyone?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant