All Projects → occrp-attic → convert-document

occrp-attic / convert-document

Licence: MIT license
A docker container for LibreOffice and unoconv, used to generate PDF files from office-type documents.

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects
Makefile
30231 projects

Projects that are alternatives of or similar to convert-document

docker-ansible
Alpine-based multistage-build version of Ansible for reproducible usage in CI
Stars: ✭ 168 (+216.98%)
Mutual labels:  docker-container
docker-openmanage
Dell OpenManage Server Administrator in a Docker container with SNMP support
Stars: ✭ 43 (-18.87%)
Mutual labels:  docker-container
utools-recent-projects
uTools 插件, 快速查询最近打开的项目
Stars: ✭ 84 (+58.49%)
Mutual labels:  libreoffice
gvm10-docker
Non Official - Greenbone Vulnerability Management version 10 Docker image
Stars: ✭ 30 (-43.4%)
Mutual labels:  docker-container
docker-terraform-docs
Alpine-based multistage-build version of terraform-docs and terraform-docs-replace in multiple versions to be used for CI and other reproducible automations
Stars: ✭ 59 (+11.32%)
Mutual labels:  docker-container
pojde
Develop from any device with a browser.
Stars: ✭ 60 (+13.21%)
Mutual labels:  docker-container
docker-nginx-mainline
Devilbox's Nginx mainline (based on official Nginx Docker) [multi-arch]
Stars: ✭ 15 (-71.7%)
Mutual labels:  docker-container
baseimage-amzn
A minimal Docker Base Image based on Amazon Linux
Stars: ✭ 38 (-28.3%)
Mutual labels:  docker-container
AzureContainerInstancesManagement
Hosting game servers at scale using Azure Container Instances, using Azure Functions and Event Grid. Demo with OpenArena game server!
Stars: ✭ 41 (-22.64%)
Mutual labels:  docker-container
docker-routeros
Mikrotik RouterOS inside Docker container
Stars: ✭ 225 (+324.53%)
Mutual labels:  docker-container
pm2-docker
Monitor Docker Daemon (expose host docker daemon for monitoring)
Stars: ✭ 21 (-60.38%)
Mutual labels:  docker-container
dockerpkg-example
Example app running in small docker container using dockerpkg
Stars: ✭ 54 (+1.89%)
Mutual labels:  docker-container
kanban-board
Single-click full-stack application (Postgres, Spring Boot & Angular) using Docker Compose
Stars: ✭ 138 (+160.38%)
Mutual labels:  docker-container
android-container
Run E2E Android Testing with Docker Container
Stars: ✭ 101 (+90.57%)
Mutual labels:  docker-container
cqfd
cqfd helps running commands inside the Docker container configured for your project, keeping the user and working directory the same inside the container
Stars: ✭ 48 (-9.43%)
Mutual labels:  docker-container
mirror-http-server
A dummy HTTP server that responds whatever you told it to
Stars: ✭ 35 (-33.96%)
Mutual labels:  docker-container
standalone-docker-sailpoint-iiq
A simple way to deploy SailPoint's IdentityIQ into a series of docker containers mimicking the core components of most development environments allowing organizations to get new development team members up on their baseline code in minutes.
Stars: ✭ 33 (-37.74%)
Mutual labels:  docker-container
phd5-app
💜 Universal web application built upon Docker, PHP & Yii 2.0 Framework
Stars: ✭ 71 (+33.96%)
Mutual labels:  docker-container
designing-with-libreoffice
The work to translate Designing with LibreOffice book into traditional Chinese.
Stars: ✭ 17 (-67.92%)
Mutual labels:  libreoffice
alfresco-share-online-edition-addon
Online edition with Libreoffice in Alfresco Share
Stars: ✭ 15 (-71.7%)
Mutual labels:  libreoffice

convert-document

A docker container environment to bundle the execution of LibreOffice to convert documents of various types (such as Word, OpenDocument, etc.) to PDF. An instance of LibreOffice will be run in the background, and controlled via a local socket (i.e. the UNO protocol).

Usage

This service is intended for use exclusively as a docker container. While it may be possible to run this application stand-alone, this is not recommended. For normal usage, you should pull the latest stable image off DockerHub and run it like this:

docker pull alephdata/convert-document
docker run -p 3000:3000 -ti alephdata/convert-document

Once the service has initialised, files can be sent to the /convert endpoint, and a PDF version will be returned as a download:

curl -o out.pdf -F format=pdf -F '[email protected]' http://localhost:3000/convert

Development

To build, run:

docker build --rm -t alephdata/convert-document .

To get a development shell:

make shell

Forced restart

make build && docker-compose -f docker-compose.dev.yml stop convert-document && docker-compose -f docker-compose.dev.yml up -d convert-document

License

MIT, see LICENSE.

Troubleshooting

  • LibreOffice keeps crashing on startup with Fatal exception: Signal 11

If AppArmor is running on the host machine, it may be blocking LibreOffice from starting up. Try disabling the AppArmor profiles related to LibreOffice by following these instructions: https://askubuntu.com/a/1214363

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].