Wallabag is a web application allowing you to save web pages for later reading. Click, save and read it when you want. It extracts content so that you won’t be distracted by pop-ups and ads. The alternative to Wallabag is Shiori. In this step by step guide I will show you how to install Wallabag on your Synology NAS using Docker.
Wallabag 2.6.10Â release.
This guide works perfectly with the latestSTEP 1
Please Support My work by Making a Donation.
STEP 2
Install Docker via Synology âPackage Centerâ.
STEP 3
Install Portainer using my step by step guide. If you already have Portainer installed on your Synology NAS, skip this STEP. Attention: Make sure you have installed the latest Portainer version.
STEP 4
Go to File Station and open the docker folder. Inside the docker folder, create one new folder and name it wallabag. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.
STEP 5
Now create four new folders inside the wallabag folder that you have previously created at STEP 4 name them data, db, images, redis. Follow the instructions in the image below.
Note: Be careful enter only lowercase, not uppercase letters.
STEP 6
Log into Portainer using your username and password. On the left sidebar in Portainer, click on Stacks then + Add stack. Follow the instructions in the image below.
STEP 7
In the Name field type in wallabag. Follow the instructions in the image below.
services: wallabag: image: wallabag/wallabag container_name: Wallabag restart: on-failure:5 environment: - MYSQL_ROOT_PASSWORD=wallaroot - SYMFONY__ENV__DATABASE_DRIVER=pdo_mysql - SYMFONY__ENV__DATABASE_HOST=db - SYMFONY__ENV__DATABASE_PORT=3306 - SYMFONY__ENV__DATABASE_NAME=wallabag - SYMFONY__ENV__DATABASE_USER=wallabag - SYMFONY__ENV__DATABASE_PASSWORD=wallapass - SYMFONY__ENV__DATABASE_CHARSET=utf8mb4 - SYMFONY__ENV__DOMAIN_NAME=http://192.168.1.18:6749 - SYMFONY__ENV__SERVER_NAME=mariushosting - SYMFONY__ENV__FOSUSER_CONFIRMATION=false - SYMFONY__ENV__FOSUSER_REGISTRATION=true - SYMFONY__ENV__TWOFACTOR_AUTH=true ports: - 6749:80 volumes: - /volume1/docker/wallabag/images:/var/www/wallabag/web/assets/images:rw - /volume1/docker/wallabag/data:/var/www/wallabag/data:rw depends_on: - db - redis db: image: mariadb:11.4-noble #LTS Long Time Support Until May 29, 2029. container_name: Wallabag-DB restart: always environment: - MYSQL_ROOT_PASSWORD=wallaroot - TZ=Europe/Bucharest volumes: - /volume1/docker/wallabag/db:/var/lib/mysql:rw redis: image: redis:alpine container_name: Wallabag-REDIS healthcheck: test: ["CMD-SHELL", "redis-cli ping || exit 1"] volumes: - /volume1/docker/wallabag/redis:/data:rw restart: on-failure:5
Note: Before you paste the code above in the Web editor area, change the values for SYMFONY__ENV__DOMAIN_NAME and add your own NAS IP followed by :6749 http://192.168.1.18 is my NAS IP. You should use your own NAS IP followed by :6749
Note: Before you paste the code above in the Web editor area below, change the value for SYMFONY__ENV__SERVER_NAME and add your own server name. mariushosting is an example of a server name; you have to add your own server name.
Note: Before you paste the code above in the Web editor area, change the value for TZ with your own time zone value. (Select your current Time Zone from this list.)
STEP 8
Scroll down on the page until you see a button named Deploy the stack. Click on it. Follow the instructions in the image below. The installation process can take up to a few minutes. It will depend on your Internet speed connection.
STEP 9
If everything goes right, you will see the following message at the top right of your screen: âSuccess Stack successfully deployedâ.
STEP 10
Go back to STEP 1 or you will deal with karma đ.
STEP 11
Please wait approximately 3 minutes for the installation to be completed or you will get a blank page if you try to connect too soon. Now open your browser and type in http://Synology-ip-address:6749 Click REGISTER. Follow the instructions in the image below.
STEP 12
Add your own Email, Username and Password. Click REGISTER. Follow the instructions in the image below.
STEP 13
Click GO TO YOUR ACCOUNT. Follow the instructions in the image below.
STEP 14
You can start adding your first website link. Click the + icon at the top right of the page. Follow the instructions in the image below.
STEP 15
Your Wallabag dashboard will look like the screenshot below.
STEP 16
You can set the Dark theme by clicking the profile icon at the top right of the page. Follow the instructions in the image below.
Enjoy Wallabag!
If you want to disable public registration to your Wallabag instance, just change the following line at STEP 7
- SYMFONY__ENV__FOSUSER_REGISTRATION=true
with
- SYMFONY__ENV__FOSUSER_REGISTRATION=false
Then update the stack to apply the new settings.
If you encounter issues by using this container, make sure to check out the Common Docker issues article.
Note: If you want to run the Wallabag container over HTTPS, check my guide on How to Run Docker Containers Over HTTPS. To make sure https will work without any issue with Wallabag, remember to change the environment variable – SYMFONY__ENV__DOMAIN_NAME at STEP 7 pointing to your synology.me DDNS instead of your local IP. You need to update your stack. In order to make Wallabag work via HTTPS, it’s mandatory to activate WebSocket.
Note: Can I run Docker on my Synology NAS? See the supported models.
Note: How to Back Up Docker Containers on your Synology NAS.
Note: Find out how to update the Wallabag container with the latest image.
Note: How to Free Disk Space on Your NAS if You Run Docker.
Note: How to Schedule Start & Stop For Docker Containers.
Note: How to Activate Email Notifications.
Note: How to Add Access Control Profile on Your NAS.
Note: How to Change Docker Containers Restart Policy.
Note: How to Use Docker Containers With VPN.
Note: Convert Docker Run Into Docker Compose.
Note: How to Clean Docker.
Note: How to Clean Docker Automatically.
Note: Best Practices When Using Docker and DDNS.
Note: Some Docker Containers Need WebSocket.
Note: Find out the Best NAS Models For Docker.
Note: Activate Gmail SMTP For Docker Containers.
This post was updated on Friday / November 8th, 2024 at 8:56 PM