Release 2.1.0 - See CHANGELOG.md

This commit is contained in:
Dave Conroy 2021-04-11 12:00:55 -07:00
parent 528cbb867f
commit b667f7c743
4 changed files with 33 additions and 23 deletions

View file

@ -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>

View file

@ -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 \

View file

@ -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
@ -75,9 +77,11 @@ 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 |
| `/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
@ -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.

View file

@ -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