From 4cb276fe1b51cfb457f36ff72d5bcf9c029856d2 Mon Sep 17 00:00:00 2001 From: Amjed Ali <86785660+amjed-ali-k@users.noreply.github.com> Date: Sat, 3 Jul 2021 08:11:50 +0530 Subject: Add Archivebox.io (#449) * Archive.io yml add * archivebox logo png * Formatted YAML using prettier. * Executed npm run formatter-write * Update archivebox.yml Co-authored-by: root --- public/v4/apps/archivebox.yml | 40 ++++++++++++++++++++++++++++++++++++++++ public/v4/logos/archivebox.png | Bin 0 -> 8029 bytes 2 files changed, 40 insertions(+) create mode 100644 public/v4/apps/archivebox.yml create mode 100644 public/v4/logos/archivebox.png diff --git a/public/v4/apps/archivebox.yml b/public/v4/apps/archivebox.yml new file mode 100644 index 0000000..e144eb4 --- /dev/null +++ b/public/v4/apps/archivebox.yml @@ -0,0 +1,40 @@ +captainVersion: 4 +services: + $$cap_appname: + documentation: Taken from https://docs.archivebox.io/en/latest/Docker.html and https://docs.archivebox.io/en/latest/Configuration.html?highlight=Configuration#configuration + volumes: + - $$cap_appname-data:/data + environment: + ALLOWED_HOSTS: '*' + MEDIA_MAX_SIZE: $$cap_max_size_in_mo + restart: always + caproverExtra: + dockerfileLines: + - FROM archivebox/archivebox:$$cap_archivebox_version + - CMD ["server", "--quick-init", "0.0.0.0:8000"] + containerHttpPort: '8000' +caproverOneClickApp: + variables: + - id: $$cap_archivebox_version + label: archivebox Version + defaultValue: sha-5940dd6 + description: Check out their Docker page for the valid tags https://hub.docker.com/r/archivebox/archivebox/tags + validRegex: /^([^\s^\/])+$/ + - id: $$cap_max_size_in_mo + label: Media max size + defaultValue: 750m + description: Max size of media in MO + validRegex: /^[0-9]+m$/ + instructions: + start: >- + ArchiveBox is a powerful, self-hosted internet archiving solution to collect, save, and view sites you want to preserve offline. + please note ArchiveBox NEED you to run some command lines to create the account and does not allow to create a default account. + end: >- + ArchiveBox is deployed and available as $$cap_appname. + It may take a few minutes for ArchiveBox to initialize. + Before adding something you need to create an account by running the command `su - archivebox` then `archivebox manage createsuperuser" into the `data` folder + To go into your container please follow those instructions: https://caprover.com/docs/troubleshooting.html#how-to-run-shell-inside-my-application-inside-container + Once the super admin is setted you can add other via the web ui. + displayName: ArchiveBox + isOfficial: true + description: Open-source self-hosted web archiving. diff --git a/public/v4/logos/archivebox.png b/public/v4/logos/archivebox.png new file mode 100644 index 0000000..6ca511d Binary files /dev/null and b/public/v4/logos/archivebox.png differ -- cgit v1.2.3