No description
Find a file
Glenn e5ac99a80a
All checks were successful
continuous-integration/drone/push Build is passing
build(deps): Bump wallabag to 2.6.14
This update ensures we are running a more recent and stable version of
wallabag, benefiting from upstream bug fixes and security patches that
might otherwise lead to unexpected behavior or vulnerabilities.

- Updated the base Docker image from wallabag/wallabag:2.6.9 to
  wallabag/wallabag:2.6.14

Signed-off-by: Glenn <glenux@glenux.net>
2025-12-21 16:06:54 +01:00
.dockerignore feat: implement base features 2024-07-06 18:26:48 +02:00
.drone.yml ci: enable buildkit 2024-07-08 22:35:07 +02:00
docker-compose.yml fix(deps): Pin PostgreSQL image to a specific version 2025-12-21 15:59:04 +01:00
Dockerfile build(deps): Bump wallabag to 2.6.14 2025-12-21 16:06:54 +01:00
entrypoint-wrapper.sh fix: parse env variables 2024-07-08 22:29:41 +02:00
parse-database-url.sh fix: parse env variables 2024-07-08 22:29:41 +02:00
README.md fix: parse env variables 2024-07-08 22:29:41 +02:00

Build Status

Wallabag

Setup on Dokku

Create app

export APP=wallabag
dokku apps:create $APP

Setup network and domains

Setup storage

mkdir -p /home/data/$APP.wallabag/images
dokku storage:mount $APP /home/data/$APP.wallabag/images:/var/www/wallabag/web/assets/images

Setup database

dokku postgres:create $APP
dokku postgres:link $APP $APP

Setup cache

dokku redis:create $APP
dokku redis:link $APP $APP

Setup configuration

dokku config:set --no-restart $APP SYMFONY__ENV__DATABASE_DRIVER=pdo_pgsql
dokku config:set --no-restart $APP DATABASE_URL=postgresql://wallabag:wallapass@db:5432/wallabag
dokku config:set --no-restart $APP SYMFONY__ENV__DATABASE_TABLE_PREFIX="wallabag_"
dokku config:set --no-restart $APP SYMFONY__ENV__MAILER_DSN=smtp://127.0.0.1
dokku config:set --no-restart $APP SYMFONY__ENV__FROM_EMAIL=$APP@example.com
dokku config:set --no-restart $APP SYMFONY__ENV__DOMAIN_NAME=https://your-$APP-instance.$APP.org
dokku config:set --no-restart $APP SYMFONY__ENV__SERVER_NAME="Your $APP instance"

Setup letsencrypt

dokku letsencrypt:set $APP email $APP@example.com
dokku letsencrypt:enable $APP

Deploy

git remote add dokku dokku@example.com:$APP
git push

Post-install

docker compose run $APP -- exec su -c "bin/console list --env=prod" -s /bin/sh nobody

docker compose exec $APP su -c "bin/console fos:user:create --super --env=prod" -s /bin/sh nobody
docker compose exec $APP su -c "bin/console fos:user:promote --super --env=prod" -s /bin/sh nobody

Setup on host

Add cronjobs

FROM wallabag/wallabag

The end and, hopefully, success.

Reference