informatica:software:aplicaciones_web:paperless-ngx
Diferencias
Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa | ||
| informatica:software:aplicaciones_web:paperless-ngx [2024/11/22 13:06] – tempwin | informatica:software:aplicaciones_web:paperless-ngx [2024/11/25 16:23] (actual) – [Docker] tempwin | ||
|---|---|---|---|
| Línea 3: | Línea 3: | ||
| [[informatica: | [[informatica: | ||
| - | Paperless-ngx es un derivado del proyecto original [[https:// | + | Paperless-ngx es un derivado del proyecto original [[https:// |
| * [[https:// | * [[https:// | ||
| Línea 126: | Línea 126: | ||
| </ | </ | ||
| - | Tras crear los contenedores | + | Utilizando PostgreSQL: |
| + | |||
| + | <code yaml> | ||
| + | # Docker Compose file for running paperless from the Docker Hub. | ||
| + | # This file contains everything paperless needs to run. | ||
| + | # Paperless supports amd64, arm and arm64 hardware. | ||
| + | # | ||
| + | # All compose files of paperless configure paperless in the following way: | ||
| + | # | ||
| + | # - Paperless is (re)started on system boot, if it was running before shutdown. | ||
| + | # - Docker volumes for storing data are managed by Docker. | ||
| + | # - Folders for importing and exporting files are created in the same directory | ||
| + | # as this file and mounted to the correct folders inside the container. | ||
| + | # - Paperless listens on port 8000. | ||
| + | # | ||
| + | # In addition to that, this Docker Compose file adds the following optional | ||
| + | # configurations: | ||
| + | # | ||
| + | # - Instead of SQLite (default), PostgreSQL is used as the database server. | ||
| + | # | ||
| + | # To install and update paperless with this file, do the following: | ||
| + | # | ||
| + | # - Copy this file as 'docker-compose.yml' | ||
| + | # and ' | ||
| + | # - Run ' | ||
| + | # - Run ' | ||
| + | # - Run ' | ||
| + | # | ||
| + | # For more extensive installation and update instructions, | ||
| + | # documentation. | ||
| + | |||
| + | services: | ||
| + | broker: | ||
| + | image: docker.io/ | ||
| + | restart: unless-stopped | ||
| + | volumes: | ||
| + | - redisdata:/ | ||
| + | |||
| + | db: | ||
| + | image: docker.io/ | ||
| + | restart: unless-stopped | ||
| + | volumes: | ||
| + | - pgdata:/ | ||
| + | environment: | ||
| + | POSTGRES_DB: | ||
| + | POSTGRES_USER: | ||
| + | POSTGRES_PASSWORD: | ||
| + | |||
| + | webserver: | ||
| + | image: ghcr.io/ | ||
| + | restart: unless-stopped | ||
| + | depends_on: | ||
| + | - db | ||
| + | - broker | ||
| + | ports: | ||
| + | - " | ||
| + | volumes: | ||
| + | - data:/ | ||
| + | - media:/ | ||
| + | - ./ | ||
| + | - ./ | ||
| + | env_file: docker-compose.env | ||
| + | environment: | ||
| + | PAPERLESS_REDIS: | ||
| + | PAPERLESS_DBHOST: | ||
| + | |||
| + | volumes: | ||
| + | data: | ||
| + | media: | ||
| + | pgdata: | ||
| + | redisdata: | ||
| + | </ | ||
| + | |||
| + | Antes de lanzar todo, debemos | ||
| <code bash> | <code bash> | ||
| Línea 145: | Línea 218: | ||
| Password (again): | Password (again): | ||
| Superuser created successfully. | Superuser created successfully. | ||
| + | </ | ||
| + | |||
| + | Finalmente podremos desplegarlo todo: | ||
| + | |||
| + | <code bash> | ||
| + | docker-compose up -d | ||
| </ | </ | ||
informatica/software/aplicaciones_web/paperless-ngx.1732277190.txt.gz · Última modificación: por tempwin
