1
0
Fork 0
archivebox/.do/deploy.template.yaml

47 lines
1.1 KiB
YAML
Raw Normal View History

2021-04-23 15:01:03 -04:00
spec:
2021-04-23 15:26:29 -04:00
name: archivebox
2021-04-23 15:01:03 -04:00
services:
- name: archivebox
2021-04-23 15:26:29 -04:00
git:
branch: dev
repo_clone_url: https://github.com/ArchiveBox/ArchiveBox.git
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