paperless-ai

This commit is contained in:
2025-12-31 15:42:04 +00:00
parent 12d71ef3bb
commit b09e5db6c0

View File

@@ -27,7 +27,6 @@
containers.paperless-ai = { containers.paperless-ai = {
image = "clusterzx/paperless-ai:latest"; image = "clusterzx/paperless-ai:latest";
autoStart = true; autoStart = true;
ports = ["3000:3000"];
volumes = [ volumes = [
"paperless-ai-data:/app/data" "paperless-ai-data:/app/data"
]; ];
@@ -37,11 +36,11 @@
PAPERLESS_AI_PORT = "3000"; PAPERLESS_AI_PORT = "3000";
# Initial setup wizard will configure the rest # Initial setup wizard will configure the rest
PAPERLESS_AI_INITIAL_SETUP = "yes"; PAPERLESS_AI_INITIAL_SETUP = "yes";
# Paperless-ngx API URL accessible from container # Paperless-ngx API URL accessible from container (using host network)
PAPERLESS_API_URL = "http://host.docker.internal:${toString config.services.paperless.port}/api"; PAPERLESS_API_URL = "http://127.0.0.1:${toString config.services.paperless.port}/api";
}; };
extraOptions = [ extraOptions = [
"--add-host=host.docker.internal:host-gateway" "--network=host"
]; ];
}; };
}; };