Merge pull request #900 from NightVibes33/add-wallabag-template

feat: add wallabag template
This commit is contained in:
Mauricio Siu
2026-07-08 10:22:18 -06:00
committed by GitHub
4 changed files with 107 additions and 0 deletions

View File

@@ -0,0 +1,64 @@
version: "3.8"
services:
wallabag:
image: wallabag/wallabag:2.6.14
restart: unless-stopped
expose:
- "80"
depends_on:
wallabag-db:
condition: service_healthy
wallabag-redis:
condition: service_healthy
environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
- SYMFONY__ENV__DATABASE_DRIVER=pdo_mysql
- SYMFONY__ENV__DATABASE_HOST=wallabag-db
- SYMFONY__ENV__DATABASE_PORT=3306
- SYMFONY__ENV__DATABASE_NAME=wallabag
- SYMFONY__ENV__DATABASE_USER=wallabag
- SYMFONY__ENV__DATABASE_PASSWORD=${SYMFONY__ENV__DATABASE_PASSWORD}
- SYMFONY__ENV__DATABASE_CHARSET=utf8mb4
- SYMFONY__ENV__DATABASE_TABLE_PREFIX=wallabag_
- SYMFONY__ENV__MAILER_DSN=smtp://127.0.0.1
- SYMFONY__ENV__FROM_EMAIL=${SYMFONY__ENV__FROM_EMAIL}
- SYMFONY__ENV__DOMAIN_NAME=${SYMFONY__ENV__DOMAIN_NAME}
- SYMFONY__ENV__SERVER_NAME=${SYMFONY__ENV__SERVER_NAME}
- SYMFONY__ENV__SECRET=${SYMFONY__ENV__SECRET}
- SYMFONY__ENV__REDIS_HOST=wallabag-redis
volumes:
- wallabag-images:/var/www/wallabag/web/assets/images
wallabag-db:
image: mariadb:11.4
restart: unless-stopped
environment:
# Only the root password is set on purpose: the wallabag entrypoint
# creates the database and user and runs `wallabag:install` itself.
# Pre-creating the database (MARIADB_DATABASE) makes the entrypoint
# skip the install, leaving an empty schema and a persistent HTTP 500.
- MARIADB_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
volumes:
- wallabag-db-data:/var/lib/mysql
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
interval: 20s
timeout: 5s
retries: 10
wallabag-redis:
image: redis:7-alpine
restart: unless-stopped
volumes:
- wallabag-redis-data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 20s
timeout: 5s
retries: 10
volumes:
wallabag-images:
wallabag-db-data:
wallabag-redis-data:

View File

@@ -0,0 +1,18 @@
{
"id": "wallabag",
"name": "wallabag",
"version": "2.6.14",
"description": "wallabag is a self-hosted read-it-later application for saving, classifying, and reading web articles.",
"logo": "wallabag.svg",
"links": {
"github": "https://github.com/wallabag/wallabag",
"website": "https://wallabag.org/",
"docs": "https://doc.wallabag.org/"
},
"tags": [
"read-it-later",
"bookmarks",
"articles",
"self-hosted"
]
}

View File

@@ -0,0 +1,20 @@
[variables]
main_domain = "${domain}"
db_root_password = "${password:32}"
db_password = "${password:32}"
app_secret = "${password:32}"
from_email = "wallabag@example.com"
[config]
[[config.domains]]
serviceName = "wallabag"
port = 80
host = "${main_domain}"
[config.env]
MYSQL_ROOT_PASSWORD = "${db_root_password}"
SYMFONY__ENV__DATABASE_PASSWORD = "${db_password}"
SYMFONY__ENV__DOMAIN_NAME = "http://${main_domain}"
SYMFONY__ENV__FROM_EMAIL = "${from_email}"
SYMFONY__ENV__SERVER_NAME = "wallabag"
SYMFONY__ENV__SECRET = "${app_secret}"

View File

@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" role="img" aria-label="wallabag">
<rect width="128" height="128" rx="24" fill="#222"/>
<path fill="#fff" d="M33 33h62v11H44v40h51v11H33z"/>
<path fill="#3ad29f" d="M55 55h40v11H55zm0 22h40v11H55z"/>
</svg>

After

Width:  |  Height:  |  Size: 274 B