mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-11-23 21:45:14 +00:00
Add full ONLYOFFICE integration:
- New web-svc-onlyoffice role (Docker, env, CSP, proxy hooks) - Nextcloud plugin integration with JWT and CSP updates - Custom Nextcloud image with updated CA certificates - Networking and port assignments - Disabled Collabora by default - Enabled ONLYOFFICE by default - Link to conversation for reference: https://chatgpt.com/share/691f49ac-54d8-800f-83c3-60cf8c100183
This commit is contained in:
5
roles/web-app-nextcloud/templates/Dockerfile.j2
Normal file
5
roles/web-app-nextcloud/templates/Dockerfile.j2
Normal file
@@ -0,0 +1,5 @@
|
||||
FROM {{ NEXTCLOUD_IMAGE }}:{{ NEXTCLOUD_VERSION }}
|
||||
{% if NEXTCLOUD_ONLYOFFICE_ENABLED | bool %}
|
||||
# Required for ONLYOFFICE
|
||||
RUN apk add --no-cache ca-certificates && update-ca-certificates
|
||||
{% endif %}
|
||||
@@ -24,8 +24,10 @@
|
||||
|
||||
{% set service_name = NEXTCLOUD_SERVICE %}
|
||||
{{ service_name }}:
|
||||
image: "{{ NEXTCLOUD_IMAGE }}:{{ NEXTCLOUD_VERSION }}"
|
||||
image: "{{ NEXTCLOUD_CUSTOM_IMAGE }}"
|
||||
container_name: {{ NEXTCLOUD_CONTAINER }}
|
||||
{{ lookup('template', 'roles/docker-container/templates/build.yml.j2') | indent(4) }}
|
||||
|
||||
volumes:
|
||||
- data:{{ NEXTCLOUD_DOCKER_WORK_DIRECTORY }}
|
||||
- {{ NEXTCLOUD_HOST_CONF_ADD_PATH }}:{{ NEXTCLOUD_DOCKER_CONF_ADD_PATH }}:ro
|
||||
|
||||
Reference in New Issue
Block a user