Skip to content

Sources of docker image build for wallabag testing (armv7/raspberry pi image)

Notifications You must be signed in to change notification settings

kenntwasde/raspi-docker-wallabag

 
 

Repository files navigation

raspi-docker-wallabag

Dockerfile used to build a wallabag docker image. This should run on a raspberry pi2 (armv7l)

Usage from index.docker.io

ID=$(sudo docker run -p 8080:80 -d kenntwasde/raspi-docker-wallabag:latest /sbin/my_init)

or Run it in Foreground (for testing) as wallabagtest

sudo docker run -p 8080:80 --rm --name wallabagtest kenntwasde/raspi-docker-wallabag:latest /sbin/my_init

Then head your browser to http://localhost:8080 and enjoy a fresh wallabag install. 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.

Persistance of the database

The wallabag-docker script enable persistance of the database outside of the container. Modify the DBPATH variable at will, but keep an absolute path in order to things to work properly.

./scripts/wallabag-docker
Usage: wallabag-docker {start|stop|status}

The default login credentials associated with the database are: wallabag/wallabag

Using ENV variable to pass SALT value in config file

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 8080:80 -d --env WALLABAG_SALT=34gAogagAigJaurgbqfdvqQergvqer kenntwasde/raspi-docker-wallabag:latest /sbin/my_init

SSH into the container

Please refer to the Phusion documentation to fetch the insecure-key used by default on the container started by the script.

Testing wallabag dev version

The same script enable to "mount" a specific source directory instead of the one from the container. Just uncomment le SOURCEPATH line, and set it to the absolut path of the wallabag source directory you want to use.

building from Dockerfile

sudo docker build -t raspi-docker-wallabag .

or sudo docker build -t raspi-docker-wallabag --rm --no-cache .

Credits

wallabag is an opensource project created by @nicosomb

This docker image is build upon the baseimage made by phusion.

About

Sources of docker image build for wallabag testing (armv7/raspberry pi image)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%