Sign inSign up

tinegroupware/document-preview-service

By tinegroupware

•Updated about 13 hours ago

Image
0

2.2K

tinegroupware/document-preview-service repository overview

⁠document-preview-service

document-preview-service for tine⁠

⁠Run

docker run --restart=always -p 80:80 -d --name document-preview-service docker.io/tinegroupware/document-preview-service:<version>

⁠with config

docker run --restart=always -p 80:80 -d --name document-preview-service -v /path/to/config:/etc/documentPreviewService/VERSION/config.php docker.io/tinegroupware/document-preview-service:<version>

⁠listening only locally on 8080

docker run --restart=always -p 127.0.0.1:8080:80 -d --name document-preview-service docker.io/tinegroupware/document-preview-service:<version> this should be by an nginx reverse proxy with ssl

⁠with docker-compose
version: '3'
services:
  documentPreviewService:
    image: docker.io/tinegroupware/document-preview-service:2.1
    ports:
      - 80:80
    #volumes:
    #  - ./config.php:/etc/documentPreviewService/VERSION/config.php

docker-compose up

⁠config

<?php
return [
    // configure for documentPreview
    'documentService' => [
        "tempDir" => "/var/lib/documentPreviewService/", //temp folder, must be rw
        "maxProc" => 4, //maximum concurrent conversions
        "loggerOut" => "/var/log/documentPreviewService/doc.log", // log file documentPreview, can be a file path (or a zend logger)
	"ooBinary"=>'soffice',
    'locales' => 'LC_ALL="de_DE.UTF-8"', #locales must be installed
	"logLevel" => "8",
    ],
    'authLogger' => '/var/log/documentPreviewService/auth.log', // auth logger, can be a file path (or a zend logger)
    'sentryio' => 'https://<key>:<secret>@sentry.io/<project>', //sentry uri
    
    
    'auth' => [
        [
            'name' => 'documentPreviewService', // used for identification
            'required' => false, // turn auth on or of
            'permission' => '(1=1)'
        ]
    ]
];

Tag summary

Content type

Image

Digest

sha256:54eb42bd4…

Size

854.3 MB

Last updated

about 13 hours ago

docker pull tinegroupware/document-preview-service:2.1