Dockerfile used to build a wallabag docker image.
This was forked from bobmaerten/docker-wallabag to eliminate the script for persistence in favor of a volume and to better conform to best practices for unRAID Docker.
ID=$(sudo docker run -p 7070:80 -d zuhkov/wallabag:latest /sbin/my_init)
Then head your browser to http://localhost:7070 and enjoy a fresh wallabag install.
Login with Username and password wallabag. Don't forget to change your password!
When you're finished, just stop the docker container:
sudo docker stop $ID
Check the phusion/baseimage documentation for all kind of options and switches.
Persistence is accomplished with a Volume containing the folder with the sqlite database and a Volume for the PHP config file.
docker run -p 7070:80/tcp -d -v /where/you/want/to/store/db:/var/www/wallabag/db -v /where/you/want/to/store/config:/config zuhkov/wallabag /sbin/my_init
You can specify a --env WALLABAG_SALT=<insert salt value here> in the docker run command in order to fix the salt value in the wallabag config file on container startup.
Example:
sudo docker run -p 7070:80 -d --env WALLABAG_SALT=34gAogagAigJaurgbqfdvqQergvqer zuhkov/wallabag:latest /sbin/my_init
NOTE: This option should not be used until an update is made to the sqlite database to update the temporary password hash to use the new SALT. Utilizing this option will not allow you to login using the specified username and password above.
sudo docker build -t zuhkov/wallabag .
wallabag is an open source project created by @nicosomb
This docker image is built upon the baseimage made by phusion and forked from bobmaerten/docker-wallabag
Content type
Image
Digest
sha256:d9e3ae1cd…
Size
163.3 MB
Last updated
almost 11 years ago
docker pull zuhkov/wallabag