Skip to content

feat: add wallabag template - #900

Merged
Siumauricio merged 3 commits into
Dokploy:canaryfrom
NightVibes33:add-wallabag-template
Jul 8, 2026
Merged

Siumauricio merged 3 commits into
Dokploy:canaryfrom
NightVibes33:add-wallabag-template

Conversation

@NightVibes33

@NightVibes33 NightVibes33 commented May 21, 2026 •

Copy link
Copy Markdown
Contributor

/claim #152

Summary

Adds a wallabag Dokploy template as a separate focused PR:

  • wallabag 2.6.14 web service exposed on port 80
  • MariaDB 11.4 backend with generated root/app database passwords
  • Redis cache service with persistent storage
  • persistent image uploads volume
  • domain, server name, and sender email wiring through template.toml
  • metadata and SVG icon entry in meta.json

Review notes

Verification

  • GitHub Actions validate-docker-compose: passing
  • GitHub Actions validate: passing
  • GitHub Actions build-preview: passing
  • GitHub Actions validate-meta: passing
  • node dedupe-and-sort-meta.js
  • local TOML/YAML structural validation for this template: compose parses, configured domain service exists, domain port is valid, meta.json entry exists, and the template does not use container_name, explicit networks, or host port mappings
  • git diff --check

@dosubot dosubot Bot added size:S This PR changes 10-29 lines, ignoring generated files. new-template labels May 21, 2026
@github-actions

github-actions Bot commented May 21, 2026 •

Copy link
Copy Markdown
built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
templates ✅ Ready (View Log) Visit Preview 65a9a0a

@Siumauricio

Copy link
Copy Markdown
Contributor

Automated template check 🤖

This PR's template was imported into a test Dokploy instance (using the docker-compose.yml + template.toml from the PR head) and deployed, and its configured domains were then checked over HTTP.

Result: ❌ some issues need attention

wallabag

  • Deploy: done (49s)
  • Domain checks:
    • wallabag:80 → HTTP 500 ❌
  • Container states at failure time: wallabag-1: running · wallabag-redis-1: running · wallabag-db-1: running
  • Issues:
    • domain check failed for service wallabag:80 (path /): kept returning HTTP 500 for 3 minutes after the deploy finished

The test service is removed automatically after verification. Happy to re-test once the PR is updated.

1 similar comment
@Siumauricio

Copy link
Copy Markdown
Contributor

Automated template check 🤖

This PR's template was imported into a test Dokploy instance (using the docker-compose.yml + template.toml from the PR head) and deployed, and its configured domains were then checked over HTTP.

Result: ❌ some issues need attention

wallabag

  • Deploy: done (49s)
  • Domain checks:
    • wallabag:80 → HTTP 500 ❌
  • Container states at failure time: wallabag-1: running · wallabag-redis-1: running · wallabag-db-1: running
  • Issues:
    • domain check failed for service wallabag:80 (path /): kept returning HTTP 500 for 3 minutes after the deploy finished

The test service is removed automatically after verification. Happy to re-test once the PR is updated.

The template deployed but returned a persistent HTTP 500: MARIADB_DATABASE
pre-created the wallabag database, so the image entrypoint detected an
existing database, skipped bin/console wallabag:install and left an empty
schema. Only MARIADB_ROOT_PASSWORD is set now, letting the entrypoint
create the database/user and run the installer on first boot (matching the
official wallabag docker-compose).

Also:
- build SYMFONY__ENV__DOMAIN_NAME from the generated domain with the http
  scheme so assets/redirects match how the domain is served
- point SYMFONY__ENV__REDIS_HOST at the wallabag-redis service (default is
  'redis', which does not resolve here)
- randomize SYMFONY__ENV__SECRET instead of relying on the image's
  hardcoded default

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Siumauricio

Copy link
Copy Markdown
Contributor

Tested this template end-to-end on a Dokploy instance and pushed a fix.

What was broken: the deploy succeeded but the domain returned a persistent HTTP 500. Root cause: the compose set MARIADB_DATABASE=wallabag (plus MARIADB_USER/MARIADB_PASSWORD) on the db service, so MariaDB pre-created an empty wallabag database. The wallabag image entrypoint only runs bin/console wallabag:install when the database does not exist yet — it logged WARN: MySQL database is already configured and skipped the install, leaving an empty schema, so every request 500'd on missing tables.

Fix (65a9a0a):

  • db service now only sets MARIADB_ROOT_PASSWORD; the wallabag entrypoint creates the database + user and runs the installer on first boot (this matches the official wallabag docker-compose).
  • SYMFONY__ENV__DOMAIN_NAME is built from the generated domain with the http:// scheme so asset URLs/redirects match how the domain is actually served.
  • Added SYMFONY__ENV__REDIS_HOST=wallabag-redis (the image default is redis, which doesn't resolve with this service name).
  • Randomized SYMFONY__ENV__SECRET via the template instead of the image's hardcoded default.

Evidence: fresh deploy from this branch → all 3 containers running, first-boot log shows [OK] wallabag has been successfully installed., and the generated domain returns HTTP 200 with the wallabag login page (<title>Welcome to wallabag! – wallabag</title>) and correctly-schemed asset URLs.

@Siumauricio
Siumauricio merged commit bc12a2e into Dokploy:canary Jul 8, 2026
4 checks passed
@NightVibes33

Copy link
Copy Markdown
Contributor Author

Hi, I’m following up on Algora bounty Dokploy/templates#152.

This PR and PR #883 were merged on July 8, 2026. I submitted that work under the bounty in the expectation that accepted work would be considered for reward processing.

As of July 25, 2026, I still do not see any public reward or payout confirmation for these merged contributions, and Dokploy’s Algora page still appears to show no completed payouts for this bounty.

Please confirm, in clear terms:

If there is any additional step required from my side, please specify it exactly.

If these merged bounty submissions were excluded from payment, I need a specific explanation for that decision.

Thanks.

This branch was successfully deployed

1 active deployment
Preview — 65a9a0a5 Deployed Jul 8, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🙋 Bounty claim new-template size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants