-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(onlyoffice): - add: service container - add: app installation * feat(docker): - update: merge all version Dockerfiles into one - update: create Dockerfile for rsycn - add: docker proxy internal setup - update: hooks orders and scripts * feat(nginx): - update: nginx.conf
- Loading branch information
1 parent
c178837
commit 68a1de9
Showing
14 changed files
with
97 additions
and
131 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
8 changes: 8 additions & 0 deletions
8
docker/nextcloud/hooks/post-installation/001-add-trusted_domain.sh
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,8 @@ | ||
#!/bin/sh | ||
set -e | ||
|
||
php occ config:system:set trusted_domains 1 --value="nextcloud.local" | ||
|
||
[ -z "$APP_URL" ] || [ "$APP_URL" = "localhost" ] && exit 0 | ||
|
||
php occ config:system:set trusted_domains 2 --value="$APP_URL" |
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
docker/nextcloud/hooks/post-installation/003-install-onlyoffice.sh
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,11 @@ | ||
#!/bin/sh | ||
set -e | ||
|
||
php occ app:install onlyoffice | ||
|
||
php occ config:app:set onlyoffice DocumentServerUrl --value="https://onlyoffice.local/" | ||
php occ config:app:set onlyoffice DocumentServerInternalUrl --value="https://onlyoffice.local/" | ||
php occ config:app:set onlyoffice StorageUrl --value="https://nextcloud.local/" | ||
php occ config:system:set onlyoffice verify_peer_off --value="true" | ||
php occ config:system:set onlyoffice jwt_secret --value="secret" | ||
php occ config:system:set onlyoffice jwt_header --value="AuthorizationJwt" |
File renamed without changes.
7 changes: 0 additions & 7 deletions
7
docker/nextcloud/hooks/post-installation/1-add-trusted_domain.sh
This file was deleted.
Oops, something went wrong.
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,3 @@ | ||
FROM ogivuk/rsync | ||
|
||
COPY ./crontab /rsync/crontab |
File renamed without changes.
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