-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Логотипы | ||
|
||
Если хотите персонализировать свою домашнюю страницу уникальным логотипом, то у вас есть такая возможность. | ||
Необходимо передать в docker контейнер папку с вашими логотипами. | ||
|
||
## Создание логотипа | ||
|
||
Мы предлагаем вам создать svg или png иконку (если это png иконка, то с максимально возможным разрешением) для вашего приложения и использовать ее для создания пакета favicon в [Favicon Generator](https://realfavicongenerator.net/). | ||
|
||
После генерации скачайте ZIP и используйте иконки `android-*` для `pwa-*`: | ||
* `android-chrome-192x192.png` → `pwa-192x192.png` | ||
* `android-chrome-512x512.png` → `pwa-512x512.png` | ||
* `apple-touch-icon.png` | ||
* `favicon.ico` | ||
|
||
## Использование | ||
|
||
Примонтируйте новый volume с папкой иконок в вашем `docker-compose.yml` или передайте аргумент `-v` в docker run. | ||
|
||
::: code-group | ||
```yaml [docker-compose.yml] | ||
version: '3.8' | ||
|
||
services: | ||
mafl: | ||
image: hywax/mafl | ||
restart: unless-stopped | ||
ports: | ||
- '3000:3000' | ||
volumes: | ||
- ./config.yml:/app/data/config.yml | ||
- ./favicons:/app/public/favicons // [!code ++] | ||
``` | ||
::: |