* k8s local deployment work: - make it easier to deploy w/o ingress by setting 'local_service_port' (suggested port 30870) - if using local minio, ensure file endpoints set to /data/ and /data/ proxies correctly to local bucket - if not using minio, ensure file endpoints point to correct access / endpoint url. - setup should work with docker desktop, minikube, microk8s and k3s! - nginx chart: bump nginx memory limit to 20Mi - nginx image: 00-default-override-resolver-config -> 00-browsertrix-nginx-init for clarity - nginx image: use default nginx.conf, pin to nginx 1.23.2 - mongo: readd readiness probe, bump connect wait timeout (needed for ci) - config: set superadmin username to 'admin' - config schema: set 'name' as required - add sample chart values overrides: - chart values: local-config.yaml for running locally with 'local_service_port' - chart values: add microk8s-hosted.yaml for configuring a hosted microk8s setup - chart values: add microk8s-ci.yaml for ci tests - ci: remove docker swarm tests - ci: add microk8s integration tests: launching cluster, logging in, running a crawl of example.com, downloading/checking WACZ - bump to 1.1.0-beta.2
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
# Local Config
|
|
# ------------
|
|
|
|
# This config is designed for local (non-hosted) use, with either Docker Desktop, minikube or local microk8s.
|
|
# With this setup, the cluster should be accessed locally via 'localhost'
|
|
|
|
# run service on localhost on port
|
|
local_service_port: 30870
|
|
|
|
|
|
# overrides to use existing images in local Docker, otherwise will pull from latest
|
|
# api_pull_policy: "Never"
|
|
# nginx_pull_policy: "Never"
|
|
# crawler_pull_policy: "Never"
|
|
# redis_pull_policy: "Never"
|
|
|
|
|
|
# microk8s: if developing locally, can override these to use images from local microk8s repository (on localhost:32000)
|
|
# api_image: "localhost:32000/webrecorder/browsertrix-backend:latest"
|
|
# nginx_image: "localhost:32000/webrecorder/browsertrix-frontend:latest"
|
|
|
|
|
|
# optionally, override default mongodb auth, used for all data storage:
|
|
|
|
#mongo_auth:
|
|
#username: root
|
|
#password: PASSWORD!
|
|
|
|
|
|
# optionally, set these to custom values
|
|
|
|
#superuser:
|
|
# set this to enable a superuser admim
|
|
# email: admin@example.com
|
|
|
|
# optional: if not set, automatically generated
|
|
# change or remove this
|
|
# password: PASSWORD!
|
|
|
|
|