remove paperless service
This commit is contained in:
parent
acb3e982b1
commit
d71d837aca
4 changed files with 1 additions and 78 deletions
|
|
@ -249,55 +249,5 @@ in
|
|||
autoStart = true;
|
||||
};
|
||||
|
||||
# Paperless document management system
|
||||
paperless = {
|
||||
image = "ghcr.io/paperless-ngx/paperless-ngx:latest";
|
||||
|
||||
volumes = [
|
||||
"/var/lib/containers/config/paperless:/usr/src/paperless/data"
|
||||
"/mnt/storage/appbulk/Paperless/media:/usr/src/paperless/media"
|
||||
"/mnt/storage/appbulk/Paperless/consume:/usr/src/paperless/consume"
|
||||
"/mnt/storage/appbulk/Paperless/export:/usr/src/paperless/export"
|
||||
];
|
||||
|
||||
environment = {
|
||||
PAPERLESS_REDIS = "redis://paperless-redis:6379";
|
||||
PAPERLESS_OCR_LANGUAGE = "eng+chi_sim";
|
||||
PAPERLESS_OCR_LANGUAGES = "chi-sim";
|
||||
PAPERLESS_FILENAME_FORMAT = "{{ created }}-{{ correspondent }}-{{ title }}";
|
||||
PAPERLESS_TIME_ZONE = "Europe/Copenhagen";
|
||||
PAPERLESS_URL = "https://paperless.yanlincs.com";
|
||||
PAPERLESS_CSRF_TRUSTED_ORIGINS = "https://paperless.yanlincs.com";
|
||||
PAPERLESS_ALLOWED_HOSTS = "paperless.yanlincs.com";
|
||||
PAPERLESS_CORS_ALLOWED_HOSTS = "https://paperless.yanlincs.com";
|
||||
PAPERLESS_SECRET_KEY = "e11fl1oa-*ytql8p)(06fbj4ukrlo+n7k&q5+$1md7i+mge=ee";
|
||||
USERMAP_UID = commonUID;
|
||||
USERMAP_GID = commonGID;
|
||||
CA_TS_FALLBACK_DIR = "/usr/src/paperless/data";
|
||||
};
|
||||
|
||||
ports = [
|
||||
"5005:8000"
|
||||
];
|
||||
|
||||
extraOptions = [
|
||||
"--network=podman"
|
||||
];
|
||||
|
||||
dependsOn = [ "paperless-redis" ];
|
||||
autoStart = true;
|
||||
};
|
||||
|
||||
# Redis cache for Paperless
|
||||
paperless-redis = {
|
||||
image = "docker.io/redis:7.2-alpine";
|
||||
|
||||
extraOptions = [
|
||||
"--network=podman"
|
||||
];
|
||||
|
||||
autoStart = true;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -226,9 +226,8 @@
|
|||
"/var/lib/containers/config"
|
||||
"/etc"
|
||||
"/mnt/storage/appbulk/immich/library/"
|
||||
"/mnt/storage/appbulk/Paperless/media/documents"
|
||||
"/mnt/storage/Media/DCIM"
|
||||
"/mnt/storage/Media/NSFW"
|
||||
"/mnt/storage/Media/nsfw"
|
||||
];
|
||||
# Examples:
|
||||
# backupFrequency = "daily"; # Midnight (default)
|
||||
|
|
|
|||
|
|
@ -59,19 +59,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
# Paperless document management
|
||||
paperless = {
|
||||
rule = "Host(`paperless.yanlincs.com`)";
|
||||
entrypoints = "websecure";
|
||||
service = "paperless";
|
||||
tls = {
|
||||
certResolver = "cloudflare";
|
||||
domains = [{
|
||||
main = "*.yanlincs.com";
|
||||
}];
|
||||
};
|
||||
};
|
||||
|
||||
# Jellyfin Media Server
|
||||
jellyfin = {
|
||||
rule = "Host(`jellyfin.yanlincs.com`)";
|
||||
|
|
@ -162,15 +149,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
# Paperless backend (via WireGuard)
|
||||
paperless = {
|
||||
loadBalancer = {
|
||||
servers = [{
|
||||
url = "http://10.2.2.20:5005";
|
||||
}];
|
||||
};
|
||||
};
|
||||
|
||||
# Jellyfin backend (via WireGuard)
|
||||
jellyfin = {
|
||||
loadBalancer = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue