informatica:software:aplicaciones_web:photoprism
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:photoprism [2022/08/13 16:26] – [Instalación] tempwin | informatica:software:aplicaciones_web:photoprism [2023/07/15 17:10] (actual) – [PhotoPrism] tempwin | ||
|---|---|---|---|
| Línea 3: | Línea 3: | ||
| Galería de fotos. | Galería de fotos. | ||
| - | Solo tiene una cuenta, no permite su uso por diferentes usuarios. | + | Solo tiene una cuenta , no permite su uso por diferentes usuarios. |
| * [[https:// | * [[https:// | ||
| Línea 42: | Línea 42: | ||
| # Example Docker Compose config file for PhotoPrism (Linux / AMD64) | # Example Docker Compose config file for PhotoPrism (Linux / AMD64) | ||
| # | # | ||
| - | # Documentation | + | # Note: |
| - | # Docker Hub URL: https://hub.docker.com/r/photoprism/photoprism/ | + | # - Running PhotoPrism on a server with less than 4 GB of swap space or setting a memory/swap limit can cause unexpected |
| + | # | ||
| + | # - If you install PhotoPrism on a public server outside your home network, please always run it behind a secure | ||
| + | # HTTPS reverse proxy such as Traefik or Caddy. Your files and passwords will otherwise be transmitted | ||
| + | # in clear text and can be intercepted by anyone, including your provider, hackers, and governments: | ||
| + | # https://docs.photoprism.app/getting-started/proxies/traefik/ | ||
| # | # | ||
| - | # Please run behind a reverse proxy like Caddy, Traefik or Nginx if you need HTTPS / SSL support | + | # Documentation : https:// |
| - | # e.g. when running PhotoPrism on a public server outside your home network. | + | # Docker Hub URL: https://hub.docker.com/ |
| # | # | ||
| - | # ------------------------------------------------------------------ | ||
| # DOCKER COMPOSE COMMAND REFERENCE | # DOCKER COMPOSE COMMAND REFERENCE | ||
| - | # ------------------------------------------------------------------ | + | # see https:// |
| + | # -------------------------------------------------------------------------- | ||
| # Start | docker-compose up -d | # Start | docker-compose up -d | ||
| # Stop | docker-compose stop | # Stop | docker-compose stop | ||
| Línea 62: | Línea 67: | ||
| # Restore | # Restore | ||
| # Index | docker-compose exec photoprism photoprism index | # Index | docker-compose exec photoprism photoprism index | ||
| - | # Reindex | + | # Reindex |
| # Import | # Import | ||
| - | # ------------------------------------------------------------------- | + | # |
| - | # Note: All commands may have to be prefixed with " | + | # To search originals for faces without a complete rescan: |
| - | # | + | # docker-compose exec photoprism photoprism faces index |
| + | # | ||
| + | # All commands may have to be prefixed with " | ||
| + | # This will point the home directory | ||
| services: | services: | ||
| photoprism: | photoprism: | ||
| - | # Use photoprism/ | + | |
| image: photoprism/ | image: photoprism/ | ||
| - | # Only enable automatic restarts | + | |
| - | # configured as it otherwise may get stuck in a restart loop: | + | - mariadb |
| - | # https:// | + | |
| + | ## If the service gets stuck in a restart loop, this points to a memory, filesystem, network, or database issue: | ||
| + | | ||
| # restart: unless-stopped | # restart: unless-stopped | ||
| security_opt: | security_opt: | ||
| Línea 80: | Línea 90: | ||
| - apparmor: | - apparmor: | ||
| ports: | ports: | ||
| - | - 2342:2342 # [local | + | - "2342:2342" |
| environment: | environment: | ||
| - | PHOTOPRISM_ADMIN_PASSWORD: | + | PHOTOPRISM_ADMIN_PASSWORD: |
| - | | + | PHOTOPRISM_AUTH_MODE: |
| - | PHOTOPRISM_HTTP_COMPRESSION: | + | |
| - | | + | PHOTOPRISM_ORIGINALS_LIMIT: |
| - | PHOTOPRISM_PUBLIC: " | + | PHOTOPRISM_HTTP_COMPRESSION: |
| - | PHOTOPRISM_READONLY: | + | |
| - | PHOTOPRISM_EXPERIMENTAL: | + | PHOTOPRISM_READONLY: |
| - | PHOTOPRISM_DISABLE_WEBDAV: | + | PHOTOPRISM_EXPERIMENTAL: |
| - | PHOTOPRISM_DISABLE_SETTINGS: | + | PHOTOPRISM_DISABLE_CHOWN: |
| - | PHOTOPRISM_DISABLE_TENSORFLOW: | + | PHOTOPRISM_DISABLE_WEBDAV: |
| - | | + | PHOTOPRISM_DISABLE_SETTINGS: |
| - | PHOTOPRISM_DETECT_NSFW: | + | PHOTOPRISM_DISABLE_TENSORFLOW: |
| - | PHOTOPRISM_UPLOAD_NSFW: | + | PHOTOPRISM_DISABLE_FACES: |
| + | PHOTOPRISM_DISABLE_CLASSIFICATION: | ||
| + | | ||
| + | PHOTOPRISM_RAW_PRESETS: | ||
| + | PHOTOPRISM_JPEG_QUALITY: | ||
| + | PHOTOPRISM_DETECT_NSFW: | ||
| + | PHOTOPRISM_UPLOAD_NSFW: | ||
| # PHOTOPRISM_DATABASE_DRIVER: | # PHOTOPRISM_DATABASE_DRIVER: | ||
| - | PHOTOPRISM_DATABASE_DRIVER: | + | PHOTOPRISM_DATABASE_DRIVER: |
| - | PHOTOPRISM_DATABASE_SERVER: | + | PHOTOPRISM_DATABASE_SERVER: |
| - | PHOTOPRISM_DATABASE_NAME: | + | PHOTOPRISM_DATABASE_NAME: |
| - | PHOTOPRISM_DATABASE_USER: | + | PHOTOPRISM_DATABASE_USER: |
| - | PHOTOPRISM_DATABASE_PASSWORD: | + | PHOTOPRISM_DATABASE_PASSWORD: |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | # PHOTOPRISM_INIT: "gpu tensorflow" |
| - | # You may optionally set a user / group id using environment variables if your Docker version or NAS does not | + | |
| - | # support this natively | + | # PHOTOPRISM_FFMPEG_ENCODER: "software" |
| - | # UID: 1000 | + | # PHOTOPRISM_FFMPEG_BITRATE: |
| - | # GID: 1000 | + | ## Run as a non-root user after initialization |
| - | # UMASK: 0000 | + | # PHOTOPRISM_UID: 1000 |
| - | # Uncomment and edit the following line to set a specific | + | # PHOTOPRISM_GID: 1000 |
| + | # PHOTOPRISM_UMASK: 0000 | ||
| + | ## Start as non-root | ||
| # user: " | # user: " | ||
| + | ## Share hardware devices with FFmpeg and TensorFlow (optional): | ||
| + | # devices: | ||
| + | # - "/ | ||
| + | # - "/ | ||
| + | # - "/ | ||
| + | # - "/ | ||
| + | # - "/ | ||
| + | # - "/ | ||
| + | # - "/ | ||
| + | # - "/ | ||
| + | working_dir: | ||
| + | ## Storage Folders: " | ||
| volumes: | volumes: | ||
| - | # Your photo and video files ([local path]: | + | # "/host/folder:/ |
| - | - "~/Pictures:/ | + | - "~/Pictures:/ |
| - | | + | # - "/example/family:/ |
| - | | + | # - " |
| - | # - "/mnt/Friends:/ | + | - " |
| - | # Mounting an import folder is optional (see docs): | + | |
| - | # - " | + | |
| - | | + | |
| - | - " | + | |
| + | ## Database Server (recommended) | ||
| + | ## see https:// | ||
| mariadb: | mariadb: | ||
| - | | + | |
| + | ## https://docs.photoprism.app/ | ||
| restart: unless-stopped | restart: unless-stopped | ||
| - | security_opt: | + | |
| + | | ||
| - seccomp: | - seccomp: | ||
| - apparmor: | - apparmor: | ||
| - | command: mysqld --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=50 | + | command: mysqld |
| - | | + | ## Never store database files on an unreliable device such as a USB flash drive, an SD card, or a shared network folder: |
| - | - " | + | volumes: |
| + | - " | ||
| environment: | environment: | ||
| - | | + | |
| - | | + | |
| - | | + | MARIADB_DATABASE: |
| - | | + | |
| + | MARIADB_PASSWORD: | ||
| + | | ||
| - | # Uncomment the following lines to upgrade | + | |
| - | # | + | ## see https:// |
| - | # watchtower: | + | # |
| - | # image: containrrr/ | + | # watchtower: |
| - | # | + | # |
| - | # volumes: | + | |
| - | # - "/ | + | # environment: |
| + | # WATCHTOWER_CLEANUP: | ||
| + | # | ||
| + | # volumes: | ||
| + | # | ||
| + | # - " | ||
| </ | </ | ||
| Línea 159: | Línea 197: | ||
| La primer opción crea un índice de todo lo que hay en el directorio **originals**, | La primer opción crea un índice de todo lo que hay en el directorio **originals**, | ||
| - | Con la opción de importación, | + | Con la opción de importación, |
| Si no tenemos organizados nuestros ficheros, la opción de importar sería la más adecuada. | Si no tenemos organizados nuestros ficheros, la opción de importar sería la más adecuada. | ||
| Ambas opciones están disponibles en el menú **Library** | Ambas opciones están disponibles en el menú **Library** | ||
informatica/software/aplicaciones_web/photoprism.1660400810.txt.gz · Última modificación: por tempwin
