Skip to content
Proyectos

Acerca de

Private, light booru like image board, supports multiple boards.

Diseño y multimedia

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
Recopilando historial
in 15 days
Recopilando historial
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

Mendako

Quick project done over the course of a week.

Private, light booru-like image board, supports multiple boards.

Inspired by https://github.com/danbooru/danbooru

Screenshots

Installation

Step 1 -> Create a docker-compose.yml file

services:
    mendako:
        container_name: mendako
        image: benjaminjonard/mendako
        restart: unless-stopped
        ports:
            - 81:80
        env_file:
            - .env
        depends_on:
            - mendako_postgresql
        volumes:
            - "./volumes/mendako/public/uploads:/uploads"
            - "./volumes/mendako/public/thumbnails:/thumbnails"

    mendako_postgresql:
        container_name: mendako_postgresql
        image: pgvector/pgvector:pg18
        restart: unless-stopped
        env_file:
            - .env
        environment:
            - POSTGRES_DB=${DB_NAME}
            - POSTGRES_USER=${DB_USER}
            - POSTGRES_PASSWORD=${DB_PASSWORD}
        volumes:
            - "./volumes/postgresql:/var/lib/postgresql"

Step 2 -> Create a .env file

########################################################################################################
#                                                WEB
#
# APP_DEBUG=1 displays detailed error message
#
# APP_SECRET is a random string used for security, you can use for example openssl rand -base64 21
# APP_SECRET is mandatory
#
# PHP_TZ, see possible values here https://www.w3schools.com/php/php_ref_timezones.asp
# APP_THUMBNAILS_FORMAT possible values : jpeg, png, webp, avif. Leave empty if you want to keep the original image format
# APP_POST_PER_PAGE and APP_INFINITE_SCROLL_POST_PER_PAGE are limited to 200
#
# WORKER_PHP_MEMORY_LIMIT -> max memory consumption for job workers, the memory will be freed once the worker is done
#
# FRANKENPHP_THREADS_NUMBER, must be strictly superior to FRANKENPHP_WORKERS_NUMBER
########################################################################################################

APP_DEBUG=0
APP_ENV=prod
APP_SECRET=

HTTPS_ENABLED=1
UPLOAD_MAX_FILESIZE=20M
PHP_MEMORY_LIMIT=512M
WORKER_PHP_MEMORY_LIMIT=2G
PHP_TZ=Europe/Paris

APP_THUMBNAILS_FORMAT=
APP_POST_PER_PAGE=20
APP_INFINITE_SCROLL_POST_PER_PAGE=50

FRANKENPHP_WORKERS_NUMBER=1
FRANKENPHP_THREADS_NUMBER=2

########################################################################################################
#                                                DATABASE
########################################################################################################

DB_NAME=mendako
DB_HOST=mendako_postgresql
DB_PORT=5432
DB_USER=mendako
DB_PASSWORD=mendako
DB_VERSION=18

Step 3 -> Review both files and update values if required

Step 4 -> Start Mendako

docker compose up -d

Available environment variables

Name Description Possible values
DB_USER Your database user
DB_PASSWORD Your database password
DB_HOST Your database address
DB_PORT Your database port
DB_NAME Your database name
DB_VERSION Your database server version ex: 18
APP_SECRET Random string used for security
APP_ENV Symfony environment, prod by default prod or dev
APP_DEBUG Activate Symfony debug mode, 0 by default 0 or 1
HTTPS_ENABLED If your instance uses https 0 or 1
UPLOAD_MAX_FILESIZE Defaults to 20M
PHP_MEMORY_LIMIT Defaults to 512M
WORKER_PHP_MEMORY_LIMIT Defaults to 2G
PHP_TZ Your timezone, defaults to UTC https://www.w3schools.com/php/php_ref_timezones.asp
FRANKENPHP_WORKERS_NUMBER Defaults to 2
FRANKENPHP_THREADS_NUMBER Defaults to 4 Must be strictly greater than FRANKENPHP_WORKERS_NUMBER
APP_THUMBNAILS_FORMAT Empty by default, keeps the original format jpeg, png, webp, avif or empty
APP_POST_PER_PAGE Defaults to 20
APP_INFINITE_SCROLL_POST_PER_PAGE Defaults to 50
APP_ENABLE_METRICS Enable the /metrics endpoint, 0 by default 0 or 1
PUID User id running the app, defaults to 1000
PGID Group id running the app, defaults to 1000

Support Mendako

There are a few things you can do to support Mendako :

  • If you like Mendako please consider leaving a ⭐, it gives additional motivation to continue working on the project
  • Report any bug or error you see
  • English is not my first language, it would be a huge help if you could report any mistakes in Mendako.

You can contribute and edit translations here: https://crowdin.com/project/mendako. If you wish to contribute to a new language, please open a discussion on github or crowdin and I'll gladly add it. You are also welcome if you want to proofread existing translations.

Translations status

Available

English
100%
French
100%
Hungarian
100%
Japanese
100%
Portuguese, Brazilian
100%
Spanish
100%

Licensing

Mendako is an Open Source software, released under the MIT License.

Explorar proyectos relacionados

Cargando…