-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #375 from haiwen/update_integrate_collabora_online
Update integrate collabora online
- Loading branch information
Showing
5 changed files
with
126 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
services: | ||
caddy: | ||
ports: | ||
- ${COLLABORA_PORT:-6232}:${COLLABORA_PORT:-6232} | ||
|
||
collabora: | ||
image: ${COLLABORA_IMAGE:-collabora/code:24.04.5.1.1} | ||
container_name: seafile-collabora | ||
expose: | ||
- 9980 | ||
cap_add: | ||
- MKNOD | ||
environment: | ||
- server_name=${SEAFILE_SERVER_HOSTNAME:?Variable is not set or empty}:${COLLABORA_PORT:-6232} | ||
- username=${COLLABORA_USERNAME:?Variable is not set or empty} | ||
- password=${COLLABORA_PASSWORD:?Variable is not set or empty} | ||
- DONT_GEN_SSL_CERT=true | ||
- TZ=${TIME_ZONE:-Europe/Berlin} | ||
- extra_params=--o:admin_console.enable=${COLLABORA_ENABLE_ADMIN_CONSOLE:-true} | ||
--o:ssl.enable=false | ||
--o:ssl.termination=true | ||
--o:user_interface.mode=classic | ||
--o:remote_font_config.url=${COLLABORA_REMOTE_FONT:-} | ||
--o:logging.file[@enable]=${COLLABORA_ENABLE_FILE_LOGGING:-false} | ||
--o:logging.file.property[0]=/opt/cool/logs/coolwsd.log | ||
#volumes: | ||
# - "${COLLABORA_PATH:-/opt/collabora}/logs:/opt/cool/logs/" # chmod 777 needed | ||
labels: | ||
caddy: ${SEAFILE_SERVER_HOSTNAME:?Variable is not set or empty}:${COLLABORA_PORT:-6232} | ||
caddy.reverse_proxy: "{{upstreams 9980}}" | ||
networks: | ||
- seafile-net | ||
|
||
networks: | ||
seafile-net: | ||
name: seafile-net |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters