mirror of
https://github.com/nicotsx/zerobyte.git
synced 2026-04-18 22:09:30 -04:00
* test: backups service * refactor: create hono app in a separate file To avoid side effects like db migration or startup scripts when testing test(backups): add security tests to the backups controller * ci: run typechecks, build and tests on PR * test: controllers security tests * chore: update lock file * refactor: pr feedbacks
10 lines
464 B
TypeScript
10 lines
464 B
TypeScript
export const OPERATION_TIMEOUT = 5000;
|
|
export const VOLUME_MOUNT_BASE = "/var/lib/zerobyte/volumes";
|
|
export const REPOSITORY_BASE = "/var/lib/zerobyte/repositories";
|
|
export const DATABASE_URL = process.env.DATABASE_URL || "/var/lib/zerobyte/data/ironmount.db";
|
|
export const RESTIC_PASS_FILE = "/var/lib/zerobyte/data/restic.pass";
|
|
|
|
export const DEFAULT_EXCLUDES = [DATABASE_URL, RESTIC_PASS_FILE, REPOSITORY_BASE];
|
|
|
|
export const REQUIRED_MIGRATIONS = ["v0.14.0"];
|