From 3531e31796f786b8463c55089f384227cc9f3399 Mon Sep 17 00:00:00 2001 From: Brandon Egger Date: Sat, 8 Jun 2024 17:41:48 -0500 Subject: [PATCH] add collabora config --- docker/collabora/.env.example | 8 ++++++++ docker/collabora/docker-compose.yml | 18 ++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 docker/collabora/.env.example create mode 100644 docker/collabora/docker-compose.yml diff --git a/docker/collabora/.env.example b/docker/collabora/.env.example new file mode 100644 index 0000000..78c96c9 --- /dev/null +++ b/docker/collabora/.env.example @@ -0,0 +1,8 @@ +###################################### +# Collabora Configuration +###################################### +# Ref. documentation: https://sdk.collaboraonline.com/docs/installation/CODE_Docker_image.html +COLLABORA_DOMAIN= +COLLABORA_USERNAME= +COLLABORA_PASSWORD= +COLLABORA_EXTRA_PARAMS= # optional diff --git a/docker/collabora/docker-compose.yml b/docker/collabora/docker-compose.yml new file mode 100644 index 0000000..ccee11c --- /dev/null +++ b/docker/collabora/docker-compose.yml @@ -0,0 +1,18 @@ +name: collabora +services: + app: + image: collabora/code + restart: always + ports: + - 9980:9980 + cap_add: + - MKNOD + environment: + - domain=${COLLABORA_DOMAIN} + - username=${COLLABORA_USERNAME} + - password=${COLLABORA_PASSWORD} + - DONT_GEN_SSL_CERT="true" + - extra_params=${COLLABORA_EXTRA_PARAMS} + volumes: + - /etc/localtime:/etc/localtime:ro + - /etc/timezone:/etc/timezone:ro