mirror of
https://github.com/tiredofit/docker-collabora-online.git
synced 2024-05-17 21:46:34 +02:00
Release 2.1.0 - See CHANGELOG.md
This commit is contained in:
parent
528cbb867f
commit
b667f7c743
12
CHANGELOG.md
12
CHANGELOG.md
|
@ -1,8 +1,16 @@
|
|||
## 2.1.0 2021-04-11 <dave at tiredofit dot ca>
|
||||
|
||||
### Added
|
||||
- Custom Font insertion Support
|
||||
|
||||
### Removed
|
||||
- My opinionated required font list
|
||||
|
||||
## 2.0.4 2021-04-09 <dave at tiredofit dot ca>
|
||||
|
||||
### Added
|
||||
- Collabora Office 6.4-33
|
||||
- Collabora Online 6.4.7-5
|
||||
- Collabora Office 6.4-34
|
||||
- Collabora Online 6.4.7-6
|
||||
|
||||
|
||||
## 2.0.3 2021-04-06 <dave at tiredofit dot ca>
|
||||
|
|
13
Dockerfile
13
Dockerfile
|
@ -197,25 +197,14 @@ RUN set -x && \
|
|||
adduser --quiet --system --group --home /opt/lool lool && \
|
||||
\
|
||||
### Add Repositories
|
||||
echo "deb http://deb.debian.org/debian buster contrib" >> /etc/apt/sources.list && \
|
||||
curl -sL https://deb.nodesource.com/setup_10.x | bash - && \
|
||||
\
|
||||
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections && \
|
||||
apt-get update && \
|
||||
apt-get -o Dpkg::Options::="--force-confold" upgrade -y && \
|
||||
apt-get install -y\
|
||||
apt-transport-https \
|
||||
cpio \
|
||||
findutils \
|
||||
fontconfig \
|
||||
fonts-droid-fallback \
|
||||
fonts-hack \
|
||||
fonts-liberation \
|
||||
#fonts-noto-cjk \
|
||||
#fonts-wqy-microhei \
|
||||
#fonts-wqy-zenhei \
|
||||
#fonts-ocr-a \
|
||||
#fonts-ocr-b \
|
||||
fonts-open-sans \
|
||||
hunspell \
|
||||
hunspell-en-ca \
|
||||
hunspell-en-gb \
|
||||
|
|
23
README.md
23
README.md
|
@ -11,6 +11,7 @@ This will build a container for [LibreOffice Online](https://libreoffice.org/) f
|
|||
* This Container uses a [customized Debian Linux base](https://hub.docker.com/r/tiredofit/debian) which includes [s6 overlay](https://github.com/just-containers/s6-overlay) enabled for PID 1 Init capabilities, [zabbix-agent](https://zabbix.org) for individual container monitoring, Cron also installed along with other tools (bash,curl, less, logrotate, nano, vim) for easier management.
|
||||
|
||||
* Configurable Concurrent User and Document Limit (set to generarous values by default)
|
||||
* Custom Font Support
|
||||
* Set features to support autogeneration of TLS certificates/activate reverse proxy support, others..
|
||||
* Zabbix Monitoring of Active Documents, Users, Memory Consumed
|
||||
|
||||
|
@ -56,6 +57,7 @@ docker pull tiredofit/libreoffice-online
|
|||
The following image tags are available:
|
||||
|
||||
* `latest` - See most recent versioned tag
|
||||
* `2.1` - Collabora Office 6.4.x and Collabora Office Online 6.4.x
|
||||
* `2.0` - Collabora Libreoffice 6.4-23 with Collabora Office Online 6.4.6-2
|
||||
* `1.6` - Collabora Libreoffice 6.0.30 with Collabora Office Online 4.0.4-1
|
||||
* `1.1` - Collabora Libreoffice 5.3.61 with Collabora Office Online 3.4.2.1
|
||||
|
@ -74,11 +76,13 @@ The following image tags are available:
|
|||
|
||||
The following directories should be mapped for persistent storage in order to utilize the container effectively.
|
||||
|
||||
| Folder | Description |
|
||||
| -------------------- | ----------------------------------------------------------------------------------------------------------------------- |
|
||||
| `/var/log/loolwsd` | Log files |
|
||||
| `/assets/custom` | If you want to update the theme of LibreOffice online, dropping files in here will overwrite /opt/lool/share on startup |
|
||||
| `/etc/loolwsd/certs` | (Optional) If you would like to use your own certificates, map this volume and set appropriate variables |
|
||||
| Folder | Description |
|
||||
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------- |
|
||||
| `/var/log/loolwsd` | Log files |
|
||||
| `/assets/custom` | If you want to update the theme of LibreOffice online, dropping files in here will overwrite /opt/lool/share on startup |
|
||||
| `/assets/custom-fonts` | (Optional) If you want to include custom truetype fonts, place them in this folder |
|
||||
| `/assets/custom-scripts` | (Optional) If you want to execute a bash script before the application starts, drop your files here |
|
||||
| `/etc/loolwsd/certs` | (Optional) If you would like to use your own certificates, map this volume and set appropriate variables |
|
||||
|
||||
### Environment Variables
|
||||
|
||||
|
@ -91,7 +95,7 @@ Along with the Environment Variables from the [Base image](https://hub.docker.co
|
|||
| `ALLOWED_HOSTS` | Set which domains which can access service Seperate Multiple with `,` - Example: `^(.*)\.example\.org` |
|
||||
| `DICTIONARIES` | Spell Check Languages - Available `en_GB en_US` | `en_GB en_US` |
|
||||
| `EXTRA_OPTIONS` | If you want to pass additional arguments upon startup, add it here |
|
||||
| `INTERFACE` | Web interface type `classic` or `notebookbar` | `classic` |
|
||||
| `INTERFACE` | Web interface type `classic` or `notebookbar` | `classic` |
|
||||
| `WATERMARK_OPACITY | Watermark Opacity | `0.2` |
|
||||
| `WATERMARK_TEXT` | Text to display for watermark | `` |
|
||||
|
||||
|
@ -120,9 +124,9 @@ Along with the Environment Variables from the [Base image](https://hub.docker.co
|
|||
#### TLS Settings
|
||||
| Parameter | Description | Default |
|
||||
| -------------------------- | ------------------------------------------------------------------- | -------------------- |
|
||||
| `ENABLE_TLS` | Enable TLS | `FALSE` |
|
||||
| `ENABLE_TLS` | Enable TLS | `FALSE` |
|
||||
| `ENABLE_TLS_CERT_GENERATE` | Enable Self Signed Certificate Generation | `TRUE` |
|
||||
| `ENABLE_TLS_REVERSE_PROXY` | If using a Reverse SSL terminating proxy in front of this container | `TRUE` |
|
||||
| `ENABLE_TLS_REVERSE_PROXY` | If using a Reverse SSL terminating proxy in front of this container | `TRUE` |
|
||||
| `TLS_CA_FILENAME` | TLS CA Cert filename with extension | `ca-chain-cert.pem` |
|
||||
| `TLS_CERT_FILENAME` | TLS Certificate filename with extension | `cert.pem` |
|
||||
| `TLS_CERT_PATH` | TLS certificates path | `/etc/loolwsd/certs` |
|
||||
|
@ -178,6 +182,9 @@ Along with the Environment Variables from the [Base image](https://hub.docker.co
|
|||
| `SYS_TEMPLATE_PATH` | System Template Path | `systemplate` |
|
||||
|
||||
|
||||
#### Adding Custom Fonts
|
||||
This image comes with some highly opninionated default fonts by the LibreOffice team, and also includes the Microsoft TTF fonts from the late 90s. To add custom fonts into this image, cxport a volume and place them in `/assets/custom-fonts` and they will be inserted upon next container restart.
|
||||
|
||||
### Networking
|
||||
|
||||
The following ports are exposed.
|
||||
|
|
|
@ -34,6 +34,12 @@ if [ -d /assets/custom-scripts/ ] ; then
|
|||
done
|
||||
fi
|
||||
|
||||
### Load Custom Fonts
|
||||
if [ -d /assets/custom-fonts/ ] ; then
|
||||
print_warn "Found Custom Fonts to insert Execute"
|
||||
ln -s /assets/custom-fonts /usr/share/fonts/truetype/custom
|
||||
fi
|
||||
|
||||
if var_true "${ENABLE_TLS}" ; then
|
||||
print_debug "TLS Enabled"
|
||||
if [ ! -d "${TLS_CERT_PATH}" ] || [ ! -f "${TLS_KEY_FILENAME}" ] || [ ! -f "${TLS_CA_FILENAME}" ] || [ ! -f "${TLS_CERT_FILENAME}" ] ; then
|
||||
|
@ -181,4 +187,4 @@ if var_false "${ENABLE_CONFIG_RELOAD}" ; then
|
|||
fi
|
||||
|
||||
print_info "Container Initialization Complete"
|
||||
liftoff
|
||||
liftoff
|
||||
|
|
Loading…
Reference in a new issue