From b0ab707246c0c88bcc36fa63b98a944812c8ea49 Mon Sep 17 00:00:00 2001 From: Rudolf Date: Mon, 6 May 2024 05:05:40 +0200 Subject: [PATCH] =?UTF-8?q?do=C4=8Di=C5=A1t=C4=9Bn=C3=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ci/templates/docker-compose.yaml | 4 +-- "docs/Pywb/rozpracovan\303\251.md" | 54 ++++++++++++++++++++++++++++-- 2 files changed, 54 insertions(+), 4 deletions(-) diff --git a/ci/templates/docker-compose.yaml b/ci/templates/docker-compose.yaml index 3a09473..9cb3430 100644 --- a/ci/templates/docker-compose.yaml +++ b/ci/templates/docker-compose.yaml @@ -26,8 +26,8 @@ services: # - "/index/:/webarchive/collections/serials/indexes/" # TOPICS # Mount topics as archive sources - - "/mnt/archive/23/topics/Topics-2023-07-T-APVVM:/webarchive/collections/topics/archive/23/Topics-2023-07-T-APVVM" - - /mnt/archive/23/topics/Topics-2023-08-T-MilanKundera:/webarchive/collections/topics/archive/23/Topics-2023-08-T-MilanKundera" + - /mnt/archive/23/topics/Topics-2023-07-T-APVVM:/webarchive/collections/topics/archive/23/Topics-2023-07-T-APVVM + - /mnt/archive/23/topics/Topics-2023-08-T-MilanKundera:/webarchive/collections/topics/archive/23/Topics-2023-08-T-MilanKundera # - type: bind # source: "/index" # target: "/webarchive/collections/" diff --git "a/docs/Pywb/rozpracovan\303\251.md" "b/docs/Pywb/rozpracovan\303\251.md" index a3473b1..d065cd5 100644 --- "a/docs/Pywb/rozpracovan\303\251.md" +++ "b/docs/Pywb/rozpracovan\303\251.md" @@ -1,11 +1,61 @@ # Rozpracované -## Stav 6. Květen 2024, +## Květen 2024 - Automatická Indexace: `/mnt/archive/23/topics/Topics-2023-07-T-APVVM` - Index: `/mnt/prase` +- Struktura -## Stav Duben 2024 +```Dockerfile +pywb: + image: webrecorder/pywb:2.7.4 + volumes: + # INDEX + - "/mnt/prase:/webarchive/collections/topics/indexes/" + # ARCHIV + - /mnt/archive/23/topics/Topics-2023-07-T-APVVM:/webarchive/collections/topics/archive/23/Topics-2023-07-T-APVVM + - /mnt/archive/23/topics/Topics-2023-08-T-MilanKundera:/webarchive/collections/topics/archive/23/Topics-2023-08-T-MilanKundera + # KONFIGURACE + - "{{ pywb_dir }}/config.yaml:/webarchive/config.yaml" +``` + +### Stroktura pro Pywb + +> Otázka jestli do téhle struktury zapadají i historická data. Je potřeba projít strukturu archivu od roku 2005. + +Varianta 1 + +``` +Collections + +- Topic 1 // Tématická sklizeň + - Archive + - 23 + - Sklizeň 1 + - 24 + - Sklizeň 2 + - Sklizeň 3 + - Indexes // Automaticky generované + +- Topic 2 // Tématická sklizeň +``` + +Varianta 2 + +``` +Collections + +- Topic 1 // Tématická sklizeň + - Archive + - Sklizeň 1 + - Sklizeň 2 + - Sklizeň 3 + - Indexes // Automaticky generované + +- Topic 2 // Tématická sklizeň +``` + +## Duben 2024 [Github commit](https://github.com/WebarchivCZ/pywb/commit/bdf54dc3b2ec8d3dc85e5e0d67a8dbcbb12f302e)