-
Notifications
You must be signed in to change notification settings - Fork 86
Description
I am having a hard time figuring out how to add third-party extension to a docker instance.
I am using Fedora Workstation 42.
So, I have the following docker-compose.yml file as follow:
volumes:
data:
extensions:
services:
freshrss:
image: freshrss/freshrss:latest
# # Optional build section if you want to build the image locally:
# build:
# # Pick #latest (slow releases) or #edge (rolling release) or a specific release like #1.21.0
# context: https://github.com/FreshRSS/FreshRSS.git#latest
# dockerfile: Docker/Dockerfile-Alpine
container_name: freshrss
hostname: freshrss
restart: unless-stopped
logging:
options:
max-size: 10m
volumes:
- data:/var/www/FreshRSS/data
- ./extensions:/var/www/FreshRSS/extensions
ports:
- 8080:80
environment:
TZ: America/New_York
CRON_MIN: '3,33'
TRUSTED_PROXY: 172.16.0.1/12 192.168.0.1/16
Then i created /home/dir/.config/freshrss/extensions/ directory. I cd to /home/dir/.config/freshrss and invoke docker-compose up -d.
I finished the initial completion at localhost:8080 on firefox, where all checks were marked green and finished with no error.
Then, I downloaded the Extensions-master.zip and extracted them. I copied the xExtension-Youtube dir to /home/dir/.config/freshrss/extensions/ . I invoke docker restart freshrss, but on firefox, I don't see the button at all to use the extension when I go to the extensions setting.
What problem am i having? Is it to do with permission rights or something on the dir?
Here, I include some info from the docker inspect freshrss command
...
"HostConfig": {
"Binds": [
"/home/dir/.config/freshrss/extensions:/var/www/FreshRSS/extensions:rw"
],
...
"Mounts": [
{
"Type": "bind",
"Source": "/home/dir/.config/freshrss/extensions",
"Destination": "/var/www/FreshRSS/extensions",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
},
{
"Type": "volume",
"Name": "freshrss_data",
"Source": "/var/lib/docker/volumes/freshrss_data/_data",
"Destination": "/var/www/FreshRSS/data",
"Driver": "local",
"Mode": "z",
"RW": true,
"Propagation": ""
}
Appreciate any help here.