Giter Site home page Giter Site logo

docker-wallabag's Introduction

docker-wallabag

Dockerfile used to build a wallabag docker image.

Usage from index.docker.io

ID=$(sudo docker run -p 8080:80 -d bobmaerten/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 bobmaerten/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 docker-wallabag .

Credits

wallabag is an opensource project created by @nicosomb

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

docker-wallabag's People

Contributors

amtrack avatar bobmaerten avatar nicosomb avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.