Run wallabag in docker-compose
This document describes the usage of docker for wallabag development purposes. In order to run wallabag in production, please use the official docker-composer configuration provided.
In order to run your own development instance of wallabag, you may want to use the pre-configured docker compose files provided along in the wallabag repository.
By default, wallabag will start with a SQLite database. Since wallabag provides support for Postgresql and MySQL, docker containers are also available for these ones.
docker-compose.yml, for the chosen DBMS uncomment:
- the container definition (
mariadbroot level block)
- the container link in the
- the container env file in the
In order to keep running Symfony commands on your host (such as
wallabag:install), you also should:
- source the proper env files on your command line, so variables like
- create a
127.0.0.1 rdbmson your system
- Fork and clone the project
database_*properties with commented ones (with values prefixed by
composer installthe project dependencies
php bin/console wallabag:installto create the schema
docker-compose upto run the containers
- Finally, browse to http://localhost:8080/ to find your freshly installed wallabag.
At various step, you'll probably run into UNIX permission problems, bad paths in generated cache, etc… Operations like removing cache files or changing files owners might be frequently required, so don't be afraid !