summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmjed Ali <[email protected]>2021-07-03 08:11:50 +0530
committerGitHub <[email protected]>2021-07-02 19:41:50 -0700
commit4cb276fe1b51cfb457f36ff72d5bcf9c029856d2 (patch)
tree27e794961af68183e71522cb85bf2134e923c67c
parent3d202b3640aef7f9865543a05a4129a598afc34d (diff)
downloadcaprover-one-click-apps-4cb276fe1b51cfb457f36ff72d5bcf9c029856d2.tar.gz
caprover-one-click-apps-4cb276fe1b51cfb457f36ff72d5bcf9c029856d2.zip
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 <[email protected]>
-rw-r--r--public/v4/apps/archivebox.yml40
-rw-r--r--public/v4/logos/archivebox.pngbin0 -> 8029 bytes
2 files changed, 40 insertions, 0 deletions
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
--- /dev/null
+++ b/public/v4/logos/archivebox.png
Binary files differ