-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.template
149 lines (141 loc) · 7.04 KB
/
.env.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
###### DATABASE ######
POSTGRES_DB=nextcloud
POSTGRES_USER=nextcloud
POSTGRES_PASSWORD=nextcloud
POSTGRES_HOST=db
NEXTCLOUD_ADMIN_USER=admin
NEXTCLOUD_ADMIN_PASSWORD=admin
###### S3 ######
MINIO_ROOT_USER=admin12345
MINIO_ROOT_PASSWORD=admin12345
OBJECTSTORE_S3_BUCKET=nextcloud
OBJECTSTORE_S3_KEY=admin12345
OBJECTSTORE_S3_SECRET=admin12345
OBJECTSTORE_S3_HOST=storage
OBJECTSTORE_S3_PORT=9000
OBJECTSTORE_S3_AUTOCREATE=false
OBJECTSTORE_S3_SSL=false
OBJECTSTORE_S3_USEPATH_STYLE=true
OBJECTSTORE_S3_LEGACYAUTH=true
#OBJECTSTORE_S3_REGION=de-central
###### Redis ######
# https://github.com/nextcloud/docker/blob/master/.config/redis.config.php
REDIS_HOST=cache
REDIS_HOST_PASSWORD=redis12345
#REDIS_HOST_PORT=6379
##### CONFIGURE NEXTCLOUD #####
PHP_MEMORY_LIMIT=3458M
RUN_CONFIGURATION=True
NEXTCLOUD_TRUSTED_DOMAINS=nextcloud.localhost nginx localhost:3100 hydra.localhost:9000 collabora.localhost
POST_CONFIG_COMMAND='sudo -u www-data PHP_MEMORY_LIMIT=512M php occ user_oidc:provider SchulcloudNextcloud --clientid="Nextcloud" --clientsecret="Nextcloud" --check-bearer="1" --unique-uid="0" --scope="openid offline profile email groups" --discoveryuri="http://hydra.localhost:9000/.well-known/openid-configuration"'
## Plugins
INSTALL_PLUGINS="groupfolders files_antivirus theming_customcss richdocuments user_oidc"
EXTERNAL_GIT_PLUGINS="https://github.com/hpi-schul-cloud/NextcloudExtract.git:extract:master https://github.com/hpi-schul-cloud/schulcloud-nextcloud-app.git:schulcloud:main"
#EXTERNAL_ARCHIVE_PLUGINS="https://github.com/hpi-schul-cloud/user_oidc/releases/download/v1.3.0-alpha/user_oidc-v1.3.0-alpha.tar.gz:user_oidc"
ENABLE_PLUGINS="schulcloud extract theming"
DISABLE_PLUGINS="accessibility activity circles comments contactsinteraction dashboard files_sharing firstrunwizard password_policy photos privacy nextcloud_announcements recommendations sharebymail sociallogin support survey_client systemtags notifications updatenotification user_status weather_status"
## Theming
THEMING_NAME=Schulcloud Nextcloud Dev
THEMING_URL=http://nextcloud.localhost:9090
THEMING_SLOGAN=Niedersächsische Bildungscloud
THEMING_COLOR="#5083C7"
THEMING_LOGO_URL=https://niedersachsen.cloud/images/logo/logo-wt.png
## Nextcloud Config
# https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html#config-commands-label
CONFIG_JSON='{
"system":{
"auto_logout":false,
"remember_login_cookie_lifetime":"0",
"user_oidc":{
"single_logout":false
},
"session_lifetime":"7200",
"session_keepalive":false,
"upgrade.disable-web":false,
"trashbin_retention_obligation":"7,7",
"filelocking.enabled":false,
"social_login_auto_redirect":false,
"hide_login_form":false,
"templatesdirectory":"",
"skeletondirectory":"",
"profile.enabled":false,
"auth.webauthn.enabled":false,
"allow_user_to_change_display_name":false,
"config_is_read_only":false,
"loglevel":1,
"log_type":"errorlog",
"allow_local_remote_servers":true,
"debug":"true",
"app_install_overwrite":[
"gluusso",
"schulcloud",
"extract"
]
},
"apps":{
"core":{
"shareapi_default_permission_cancreate":"no",
"shareapi_default_permission_canupdate":"no",
"shareapi_default_permission_candelete":"no",
"shareapi_default_permission_canshare":"no",
"shareapi_default_permissions":"1",
"shareapi_restrict_user_enumeration_full_match":"no",
"shareapi_allow_share_dialog_user_enumeration":"no",
"shareapi_allow_group_sharing":"no",
"shareapi_allow_resharing":"no",
"shareapi_allow_public_upload":"no",
"shareapi_allow_links":"no",
"shareapi_enabled":"no"
},
"files":{
"types":"filesystem",
"enabled":"yes",
"default_quota":"5 GB"
},
"schulcloud":{
"enabled":"yes",
"types":""
},
"extract":{
"enabled":"yes",
"types":""
},
"theming_customcss":{
"customcss":".app-navigation-entry__settings-quota:not(.vue) {\\n display: none;\\n}\\n\\n[data-cy-files-navigation-item=\"recent\"]:not(.vue) {\\n display: none;\\n}\\n\\n#contactsmenu {\\n display: none;\\n}\\n\\n#settings-section_webdav {\\n display: none;\\n}\\n\\n#accessibility_settings.menu-entry {\\n display: none;\\n}\\n\\n#settings.menu-entry {\\n display: none;\\n}\\n\\n#help.menu-entry {\\n display: none;\\n}\\n\\n#logout.menu-entry {\\n display: none;\\n}\\n\\n.action-editlocally-container:not(.vue) {\\n display: none;\\n}\\n\\n",
"cachebuster":"1659944778759",
"types":"",
"enabled":"yes"
},
"user_oidc":{
"allow_multiple_user_backends":"0",
"userinfo_bearer_validation":"false",
"selfencoded_bearer_validation":"true",
"types":"authentication",
"enabled":"yes",
"provider-1-mappingQuota":"",
"provider-1-extraClaims":"",
"provider-1-jwksCache":"",
"provider-1-jwksCacheTimestamp":"",
"provider-1-uniqueUid":"0",
"provider-1-checkBearer":"1",
"provider-1-bearerProvisioning":"1",
"provider-1-mappingUid":"sub",
"provider-1-mappingDisplayName":"name",
"provider-1-mappingEmail":"email",
"provider-1-mappingGroups":"groups",
"provider-1-groupProvisioning":"1",
"provider-1-providerBasedId":"1",
"id4me_enabled":"0"
},
"richdocuments": {
"wopi_url": "http:\/\/collabora.localhost:9090\/",
"public_wopi_url": "http:\/\/collabora.localhost:9090",
"types": "prevent_group_restriction",
"enabled": "yes",
"disable_certificate_verification": "",
"doc_format": "",
"use_groups": "",
"wopi_allowlist": ""
}
}
}'