mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-03 18:36:22 +00:00
refactored all to dev
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# Wallabag
|
||||
|
||||
This app allows you to save websites, tag them and access them through an android app, which is accessible offline (after sync).
|
||||
|
||||
## Overview
|
||||
Docker Hub: https://hub.docker.com/r/wallabag/wallabag
|
||||
Project:
|
||||
Docker Compose Example: https://github.com/wallabag/docker
|
||||
Proxy Port: 80
|
||||
|
||||
|
||||
## References
|
||||
|
||||
* [Geek Cookbook](https://geek-cookbook.funkypenguin.co.nz/recipes/wallabag/)
|
||||
* [Environment Parameters](https://doc.wallabag.org/en/admin/parameters.html)
|
||||
@@ -0,0 +1,27 @@
|
||||
services:
|
||||
wallabag:
|
||||
image: ${WALLABAG_IMAGE:-wallabag/wallabag:latest}
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- SYMFONY__ENV__DATABASE_DRIVER=${WALLABAG_DB_DRIVER:-pdo_mysql}
|
||||
- SYMFONY__ENV__DATABASE_HOST=${WALLABAG_DB_HOST:-wallabag-db}
|
||||
- SYMFONY__ENV__DATABASE_PORT=${WALLABAG_DB_PORT:-3306}
|
||||
- SYMFONY__ENV__DATABASE_NAME=${WALLABAG_DB_NAME:-wallabag}
|
||||
- SYMFONY__ENV__DATABASE_USER=${WALLABAG_DB_USER:-wallabag}
|
||||
- SYMFONY__ENV__DATABASE_PASSWORD=${WALLABAG_DB_PASS:-wallapass}
|
||||
- SYMFONY__ENV__DATABASE_CHARSET=${WALLABAG_DB_CHARSET:-utf8mb4}
|
||||
- SYMFONY__ENV__DATABASE_TABLE_PREFIX=${WALLABAG_DB_PREFIX:-wallabag_}
|
||||
- SYMFONY__ENV__MAILER_DSN=${WALLABAG_MAILER_DSN:-smtp://127.0.0.1}
|
||||
- SYMFONY__ENV__FROM_EMAIL=${WALLABAG_FROM_EMAIL:-wallabag@example.com}
|
||||
- SYMFONY__ENV__DOMAIN_NAME=${WALLABAG_DOMAIN:-https://your-wallabag-instance.wallabag.org}
|
||||
- SYMFONY__ENV__SERVER_NAME=${WALLABAG_SERVER:-Your wallabag instance}
|
||||
- TZ=${WALLABAG_TZ:-America/Vancouver}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost/api/info"]
|
||||
interval: 1m
|
||||
timeout: 3s
|
||||
volumes:
|
||||
- wallabag-data:/var/www/wallabag/web/assets/images
|
||||
|
||||
volumes:
|
||||
wallabag-data:
|
||||
@@ -0,0 +1,17 @@
|
||||
# Global
|
||||
WALLABAG_TZ=America/Vancouver
|
||||
|
||||
# Wallabag
|
||||
WALLABAG_IMAGE=wallabag/wallabag:latest
|
||||
WALLABAG_DB_DRIVER=pdo_mysql
|
||||
WALLABAG_DB_HOST=wallabag-db
|
||||
WALLABAG_DB_PORT=3306
|
||||
WALLABAG_DB_NAME=wallabag
|
||||
WALLABAG_DB_USER=wallabag
|
||||
WALLABAG_DB_PASS=wallapass
|
||||
WALLABAG_DB_CHARSET=utf8mb4
|
||||
WALLABAG_DB_PREFIX=wallabag_
|
||||
WALLABAG_MAILER_DSN=smtp://127.0.0.1
|
||||
WALLABAG_FROM_WEMAIL=wallabag@example.com
|
||||
WALLABAG_DOMAIN=https://your-wallabag-instance.wallabag.org
|
||||
WALLABAG_SERVER=Your wallabag instance
|
||||
Reference in New Issue
Block a user