Skip to content
Closed
46 changes: 46 additions & 0 deletions blueprints/wallabag/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
version: "3.8"
services:
Comment thread
StellarRounin marked this conversation as resolved.
wallabag:
image: wallabag/wallabag
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=${ROOT_PASSWORD}
- SYMFONY__ENV__DATABASE_DRIVER=pdo_mysql
- SYMFONY__ENV__DATABASE_HOST=db
- SYMFONY__ENV__DATABASE_PORT=3306
- SYMFONY__ENV__DATABASE_NAME=wallabag
- SYMFONY__ENV__DATABASE_USER=wallabag
- SYMFONY__ENV__DATABASE_PASSWORD=${DB_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=wallabag@example.com
- 'SYMFONY__ENV__DOMAIN_NAME=https://${DOMAIN}'
- 'SYMFONY__ENV__SERVER_NAME="wallabag"'
volumes:
- './images:/var/www/wallabag/web/assets/images'
depends_on:
- db
- redis

db:
image: mariadb
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=${ROOT_PASSWORD} # Best practice to keep this synced with wallabag
volumes:
- './data:/var/lib/mysql'
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
interval: 20s
timeout: 3s
retries: 5

redis:
image: 'redis:alpine'
restart: unless-stopped
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 20s
timeout: 3s
retries: 5
18 changes: 18 additions & 0 deletions blueprints/wallabag/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"id": "wallabag",
"name": "Wallabag",
"version": "2.6.14",
"description": "wallabag is a self hostable application for saving web pages: Save and classify articles",
"logo": "wallabag.png",
"links": {
"github": "https://github.com/wallabag/wallabag",
"website": "https://wallabag.org/",
"docs": "https://doc.wallabag.org/"
},
"tags": [
"bookmarks",
"articles",
"rss",
"content"
]
}
15 changes: 15 additions & 0 deletions blueprints/wallabag/template.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[variables]
main_domain = "${domain}"
db_password = "${password:16}"
root_password = "${password:16}"

[config]
env = []
mounts = []

[[config.domains]]
serviceName = "wallabag"
host = "${main_domain}"
port = 80
DB_PASSWORD = "${db_password}"
ROOT_PASSWORD = "${root_password}"
Binary file added blueprints/wallabag/wallabag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading