Docker based setup for self hosting #189
Replies: 8 comments 1 reply
-
|
If it helps, here's my recent experience on this topic:
@nkanaev I'm happy to raise a PR to add this to the docs if you like. I ended up with the following Dockerfile: I'm running yarr behind Caddy with Tailscale HTTPS, so my |
Beta Was this translation helpful? Give feedback.
-
Hello, I forked a repository called rebron1900/yarr and made some small improvements. I want to publish it to Docker Hub using Action, but I encountered an error while running it. After my investigation, I found that the master branch and tag branch of the original author have different file structures. How did they manage to do that? How can I make it run properly? |
Beta Was this translation helpful? Give feedback.
-
|
@grabpot thks,I have successfully packaged my own Docker image. |
Beta Was this translation helpful? Give feedback.
-
|
Would be great if we could add a GitHub Actions workflow to this repository in order to publish an official image automatically on releases. Here are the docs. |
Beta Was this translation helpful? Give feedback.
-
|
@rebron1900 I just saw your workflow at https://github.com/rebron1900/yarr/blob/master/.github/workflows/build-docker-image. Maybe do you want to create a PR to this repository? |
Beta Was this translation helpful? Give feedback.
-
Yes, this workflow works really well. And I've also added support for one -click subscription to yarr through Rsshub radar. |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
-
|
For myself, I wrote an image that pulls the latest binary from GH: FROM alpine:latest
ARG YARR_VERSION
RUN apk add --no-cache ca-certificates && update-ca-certificates
RUN wget https://github.com/nkanaev/yarr/releases/download/v${YARR_VERSION}/yarr_linux_amd64.zip && \
unzip -d /usr/local/bin yarr_linux_amd64.zip && \
rm yarr_linux_amd64.zip
ENTRYPOINT ["/usr/local/bin/yarr"]Then use this compose file to run it: services:
yarr:
pull_policy: never
image: yarr:2.6
build:
args:
YARR_VERSION: 2.6
container_name: yarr
restart: unless-stopped
env_file: yarr.env
environment:
- YARR_ADDR=0.0.0.0:7070
- YARR_DB=/data/yarr.db
volumes:
- type: bind
source: yarr.db
target: /data/yarr.dbThis is YARR_AUTH="my_username:my_password" |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there
A docker compose based set up might be the most ideal option for selfhosting. Would be great if there is a
Thank you for this project!
Beta Was this translation helpful? Give feedback.
All reactions