1
0
Fork 0

add some more env vars to deploy template

This commit is contained in:
Nick Sweeting 2021-04-23 16:04:18 -04:00
parent bbc9c49694
commit 145dda3e0f
2 changed files with 41 additions and 5 deletions

View file

@ -1,10 +1,46 @@
spec:
name: archivebox
services:
- dockerfile_path: Dockerfile
- name: archivebox
git:
branch: dev
repo_clone_url: https://github.com/ArchiveBox/ArchiveBox.git
name: archivebox
dockerfile_path: Dockerfile
source_dir: ./
instance_count: 1
routes:
- path: /
http_port: 8000
health_check:
http_path: /admin/login/
envs:
- key: ALLOWED_HOSTS
scope: RUN_AND_BUILD_TIME
value: '*'
- key: SAVE_ARCHIVE_DOT_ORG
scope: RUN_AND_BUILD_TIME
value: "True"
- key: SAVE_MEDIA
scope: RUN_AND_BUILD_TIME
value: "True"
- key: TIMEOUT
scope: RUN_AND_BUILD_TIME
value: "120"
- key: MEDIA_TIMEOUT
scope: RUN_AND_BUILD_TIME
value: "3600"
- key: PUBLIC_INDEX
scope: RUN_AND_BUILD_TIME
value: "True"
- key: PUBLIC_SNAPSHOTS
scope: RUN_AND_BUILD_TIME
value: "True"
- key: PUBLIC_ADD_VIEW
scope: RUN_AND_BUILD_TIME
value: "False"
- key: CHECK_SSL_VALIDITY
scope: RUN_AND_BUILD_TIME
value: "False"
- key: MEDIA_MAX_SIZE
scope: RUN_AND_BUILD_TIME
value: 750m

View file

@ -285,13 +285,13 @@ archivebox help # to see more options
<li><a href="https://cloud.digitalocean.com/apps/new?repo=https://github.com/ArchiveBox/ArchiveBox/tree/dev&refcode=f7c41d4eeae1">
<img src="https://www.deploytodo.com/do-btn-blue-ghost.svg" alt="Deploy to DigitalOcean (referral link)" height="28px"/>
</a> (USD $25-50/mo)</li>
<li><a href="https://aws.amazon.com/marketplace/pp/Linnovate-Open-Source-Innovation-Support-For-Archi/B08RVW6MJ2"><img src="https://img.shields.io/badge/Amazon_Web_Services-Marketplace-%23ee8135.svg?style=flat" height="28px"/></a> (USD $60-200/mo)</li>
<li><a href="https://www.stellarhosted.com/archivebox/"><img src="https://img.shields.io/badge/Stellar_Hosted-Managed-%23193f7e.svg?style=flat" height="28px"/></a> (USD $29-250/mo)</li>
<li><a href="https://aws.amazon.com/marketplace/pp/Linnovate-Open-Source-Innovation-Support-For-Archi/B08RVW6MJ2"><img src="https://img.shields.io/badge/Amazon_Web_Services-Marketplace-%23ee8135.svg?style=flat" height="22px"/></a> (USD $60-200/mo)</li>
<li><a href="https://www.stellarhosted.com/archivebox/"><img src="https://img.shields.io/badge/Stellar_Hosted-Managed-%23193f7e.svg?style=flat" height="22px"/></a> (USD $29-250/mo)</li>
</ul>
None of these providers are officially endorsed, some manual setup or periodic updating may be required, and you may experience varying levels of service quality from them.
<small><i>Note: some of these are referral links, any earnings go towards supporting ArchiveBox development.</i></small>
<small><i>Note: some of these are referral links, any referral earnings go towards supporting ArchiveBox development.</i></small>
</details>
#### ⚡️&nbsp; CLI Usage