From 1a6bd179ffc1ba3c5cb1a5d1fd2cd5de99886ca0 Mon Sep 17 00:00:00 2001 From: thest1tch Date: Tue, 6 Jun 2023 17:42:34 +0500 Subject: [PATCH] update --- .drone.yml | 2 +- mkdocs.yml | 10 +- site/404.html | 61 +- site/docker-compose/linx-server/index.html | 635 +++++++++++++++++++++ site/docs.code-workspace | 7 - site/index.html | 63 +- site/search/search_index.json | 2 +- site/sitemap.xml.gz | Bin 127 -> 127 bytes 8 files changed, 760 insertions(+), 20 deletions(-) create mode 100644 site/docker-compose/linx-server/index.html delete mode 100644 site/docs.code-workspace diff --git a/.drone.yml b/.drone.yml index d45e50a..f4f3cf8 100755 --- a/.drone.yml +++ b/.drone.yml @@ -20,4 +20,4 @@ steps: volumes: - name: site host: - path: /opt/appdata/mkdocswiki/docs \ No newline at end of file + path: /opt/appdata/mkdocswiki \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 99fa791..ac6fb64 100755 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,5 +1,5 @@ site_name: Docs St1t.ru -repo_url: https://st1t.ru/thest1tch/docs +repo_url: https://git.st1t.ru/thest1tch/docs repo_name: thest1tch/docs edit_uri: edit/main/docs/ @@ -35,11 +35,6 @@ theme: plugins: - search - - redirects: - redirect_maps: - user-guide/plugins.md: dev-guide/plugins.md - user-guide/custom-themes.md: dev-guide/themes.md - user-guide/styling-your-docs.md: user-guide/choosing-your-theme.md markdown_extensions: - abbr - admonition # enables coloured blocks mid article @@ -64,7 +59,8 @@ nav: - 1. Docker Compose: - Linx Server: 'docker-compose/linx-server.md' #- 2. Docker: - #- 3. Mediaserver: + - 3. Mediaserver: + - Plex Meta Manager: docker-compose/plex-mm.md #- 4. Proxmox: #- 5. Synology: #- 6. Hardware: diff --git a/site/404.html b/site/404.html index bbd880c..b35609f 100644 --- a/site/404.html +++ b/site/404.html @@ -167,7 +167,7 @@
- +
@@ -212,7 +212,7 @@
- + diff --git a/site/docker-compose/linx-server/index.html b/site/docker-compose/linx-server/index.html new file mode 100644 index 0000000..c1644dd --- /dev/null +++ b/site/docker-compose/linx-server/index.html @@ -0,0 +1,635 @@ + + + + + + + + + + + + + + + + + + + + Linx Server - Docs St1t.ru + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + Skip to content + + +
+
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + +

Linx Server

+ +

Self-hosted файл/медиа хостинг.

+

Демо

+

Как выглядит, можно посмотреть на: https://put.icu/

+

Клиенты

+ + + + + + + + + + + + + + + + + + + + + + + + + +
ОфициальныйCLI: linx-clientSource
Не официальныйAndroid: LinxShareSource | Google Play
CLI: golinxSource
+

Features

+
    +
  • Отображение базовых типов файлов (картинки, видео, аудио, markdown, pdf)
  • +
  • Отображение подсветки кода во строенном редакторе
  • +
  • API для работы. С документацией
  • +
  • Скачивание торрентов
  • +
  • Установка срока действия файлов и ссылок, удаление ключей, рандомные имена файлов
  • +
+

Screenshots

+ + + + + + + + + + + + + + + + + + + + +
+

Начало

+
    +
  1. Создать папки files и meta и запустить chown -R 65534:65534 meta && chown -R 65534:65534 files
  2. +
  3. Создайте файл конфигурации (пример предоставлен в репозитории), мы будем называть его linx-server.conf в следующих примерах.
  4. +
+

Пример:

+
1
docker run -p 8080:8080 -v /path/to/linx-server.conf:/data/linx-server.conf -v /path/to/meta:/data/meta -v /path/to/files:/data/files andreimarcu/linx-server -config /data/linx-server.conf
+
+

Пример с docker-compose

+
 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
version: "3.7"
+
+# linx - self-hosting picture and data
+  linx:
+    container_name: linx-server
+    image: andreimarcu/linx-server
+    command: -config /data/linx-server.conf
+    volumes:
+      - $DOCKER_APP/linx/files:/data/files
+      - $DOCKER_APP/linx/meta:/data/meta
+      - $DOCKER_APP/linx/linx-server.conf:/data/linx-server.conf
+    networks:
+      - direct_net
+    environment:
+      PUID: $PUID
+      PGID: $PGID
+    ports:
+      - "8090:8080"
+    restart: unless-stopped
+
+

В идеале вы должны использовать обратный прокси-сервер, такой как nginx, traefik или caddy, для обработки сертификатов TLS.

+

Автор

+

Andrei Marcu, https://andreim.net/

+ + + + + + +
+
+ + +
+ +
+ + + +
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/site/docs.code-workspace b/site/docs.code-workspace deleted file mode 100644 index 9e68e72..0000000 --- a/site/docs.code-workspace +++ /dev/null @@ -1,7 +0,0 @@ -{ - "folders": [ - { - "path": ".." - } - ] -} \ No newline at end of file diff --git a/site/index.html b/site/index.html index be2d514..230c55d 100644 --- a/site/index.html +++ b/site/index.html @@ -10,6 +10,8 @@ + + @@ -172,7 +174,7 @@
- +
@@ -217,7 +219,7 @@
- + diff --git a/site/search/search_index.json b/site/search/search_index.json index 70b42dd..5e989ef 100644 --- a/site/search/search_index.json +++ b/site/search/search_index.json @@ -1 +1 @@ -{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"Welcome to MkDocs","text":"

For full documentation visit mkdocs.org.

"},{"location":"#commands","title":"Commands","text":"
  • mkdocs new [dir-name] - Create a new project.
  • mkdocs serve - Start the live-reloading docs server.
  • mkdocs build - Build the documentation site.
  • mkdocs -h - Print help message and exit.
"},{"location":"#project-layout","title":"Project layout","text":"
mkdocs.yml    # The configuration file.\ndocs/\n    index.md  # The documentation homepage.\n    ...       # Other markdown pages, images and other files.\n
"}]} \ No newline at end of file +{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"Welcome to MkDocs","text":"

For full documentation visit mkdocs.org.

"},{"location":"#commands","title":"Commands","text":"
  • mkdocs new [dir-name] - Create a new project.
  • mkdocs serve - Start the live-reloading docs server.
  • mkdocs build - Build the documentation site.
  • mkdocs -h - Print help message and exit.
"},{"location":"#project-layout","title":"Project layout","text":"
mkdocs.yml    # The configuration file.\ndocs/\n    index.md  # The documentation homepage.\n    ...       # Other markdown pages, images and other files.\n
"},{"location":"docker-compose/linx-server/","title":"Linx Server","text":"

Self-hosted \u0444\u0430\u0439\u043b/\u043c\u0435\u0434\u0438\u0430 \u0445\u043e\u0441\u0442\u0438\u043d\u0433.

"},{"location":"docker-compose/linx-server/#_1","title":"\u0414\u0435\u043c\u043e","text":"

\u041a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430: https://put.icu/

"},{"location":"docker-compose/linx-server/#_2","title":"\u041a\u043b\u0438\u0435\u043d\u0442\u044b","text":"\u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 CLI: linx-client Source \u041d\u0435 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 Android: LinxShare Source | Google Play CLI: golinx Source"},{"location":"docker-compose/linx-server/#features","title":"Features","text":"
  • \u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0431\u0430\u0437\u043e\u0432\u044b\u0445 \u0442\u0438\u043f\u043e\u0432 \u0444\u0430\u0439\u043b\u043e\u0432 (\u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438, \u0432\u0438\u0434\u0435\u043e, \u0430\u0443\u0434\u0438\u043e, markdown, pdf)
  • \u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0438 \u043a\u043e\u0434\u0430 \u0432\u043e \u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u043c \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435
  • API \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b. \u0421 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0435\u0439
  • \u0421\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435 \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u043e\u0432
  • \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u0440\u043e\u043a\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432 \u0438 \u0441\u0441\u044b\u043b\u043e\u043a, \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u043a\u043b\u044e\u0447\u0435\u0439, \u0440\u0430\u043d\u0434\u043e\u043c\u043d\u044b\u0435 \u0438\u043c\u0435\u043d\u0430 \u0444\u0430\u0439\u043b\u043e\u0432
"},{"location":"docker-compose/linx-server/#screenshots","title":"Screenshots","text":""},{"location":"docker-compose/linx-server/#_3","title":"\u041d\u0430\u0447\u0430\u043b\u043e","text":"
  1. \u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0430\u043f\u043a\u0438 files \u0438 meta \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c chown -R 65534:65534 meta && chown -R 65534:65534 files
  2. \u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 (\u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438), \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043d\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0435\u0433\u043e linx-server.conf \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445.

\u041f\u0440\u0438\u043c\u0435\u0440:

docker run -p 8080:8080 -v /path/to/linx-server.conf:/data/linx-server.conf -v /path/to/meta:/data/meta -v /path/to/files:/data/files andreimarcu/linx-server -config /data/linx-server.conf\n

\u041f\u0440\u0438\u043c\u0435\u0440 \u0441 docker-compose

version: \"3.7\"\n\n# linx - self-hosting picture and data\nlinx:\ncontainer_name: linx-server\nimage: andreimarcu/linx-server\ncommand: -config /data/linx-server.conf\nvolumes:\n- $DOCKER_APP/linx/files:/data/files\n- $DOCKER_APP/linx/meta:/data/meta\n- $DOCKER_APP/linx/linx-server.conf:/data/linx-server.conf\nnetworks:\n- direct_net\nenvironment:\nPUID: $PUID\nPGID: $PGID\nports:\n- \"8090:8080\"\nrestart: unless-stopped\n

\u0412 \u0438\u0434\u0435\u0430\u043b\u0435 \u0432\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0442\u043d\u044b\u0439 \u043f\u0440\u043e\u043a\u0441\u0438-\u0441\u0435\u0440\u0432\u0435\u0440, \u0442\u0430\u043a\u043e\u0439 \u043a\u0430\u043a nginx, traefik \u0438\u043b\u0438 caddy, \u0434\u043b\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432 TLS.

"},{"location":"docker-compose/linx-server/#_4","title":"\u0410\u0432\u0442\u043e\u0440","text":"

Andrei Marcu, https://andreim.net/

"}]} \ No newline at end of file diff --git a/site/sitemap.xml.gz b/site/sitemap.xml.gz index 246db2c4b2d898b00756dc2411a5a56c2036663c..60e3c7cfd4a1ee7668a7ce372320fcdb241d1b93 100644 GIT binary patch delta 13 Ucmb=gXP58h;E2<#pU7ST02+t`)&Kwi delta 13 Ucmb=gXP58h;CP^0Gm*Ul03DnJSpWb4