Repository navigation
Expand file tree
/
Copy pathnextcloud.env
More file actions
176 lines (137 loc) · 5.17 KB
/
Copy pathnextcloud.env
File metadata and controls
176 lines (137 loc) · 5.17 KB
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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# Nextcloud spezifische Environment Variablen
# Diese Datei wird in den Nextcloud FPM Container gemountet
# =============================================================================
# PHP KONFIGURATION
# =============================================================================
# Memory Limits
PHP_MEMORY_LIMIT=512M
PHP_UPLOAD_MAX_FILESIZE=10G
PHP_POST_MAX_SIZE=10G
PHP_MAX_EXECUTION_TIME=3600
PHP_MAX_INPUT_TIME=3600
# OPcache Settings
PHP_OPCACHE_ENABLE=1
PHP_OPCACHE_MEMORY_CONSUMPTION=128
PHP_OPCACHE_MAX_ACCELERATED_FILES=10000
PHP_OPCACHE_REVALIDATE_FREQ=1
# =============================================================================
# NEXTCLOUD SPEZIFISCHE KONFIGURATION
# =============================================================================
# Trusted Domains (wird automatisch aus NEXTCLOUD_HOSTNAME gesetzt)
# NEXTCLOUD_TRUSTED_DOMAINS wird aus der .env gelesen
# Default Phone Region
default_phone_region=DE
# =============================================================================
# REDIS KONFIGURATION
# =============================================================================
# Redis Session Locking
redis.session.locking_enabled=1
redis.session.lock_retries=3
redis.session.lock_wait_time=10000
# =============================================================================
# MAIL KONFIGURATION (Optional)
# =============================================================================
# SMTP Settings - uncomment and configure if needed
# mail_smtpmode=smtp
# mail_smtpsecure=tls
# mail_smtphost=smtp.example.com
# mail_smtpport=587
# mail_smtpauth=1
# mail_smtpname=noreply@example.com
# mail_smtppassword=your-smtp-password
# mail_from_address=noreply
# mail_domain=example.com
# =============================================================================
# SECURITY EINSTELLUNGEN
# =============================================================================
# Force HTTPS
# HINWEIS: Diese URL wird automatisch aus NEXTCLOUD_URL (.env) generiert
overwrite.cli.url=https://cloud.example.com
overwriteprotocol=https
# Session Timeout (in seconds)
session_lifetime=86400
# =============================================================================
# PERFORMANCE EINSTELLUNGEN
# =============================================================================
# Enable APCu
memcache.local=\OC\Memcache\APCu
# Enable Redis for distributed caching
memcache.distributed=\OC\Memcache\Redis
memcache.locking=\OC\Memcache\Redis
# File locking
filelocking.enabled=true
# =============================================================================
# LOGGING
# =============================================================================
# Log Level: 0=DEBUG, 1=INFO, 2=WARN, 3=ERROR, 4=FATAL
loglevel=2
# Log to file instead of syslog
log_type=file
logfile=/var/www/html/data/nextcloud.log
# Log rotation
log_rotate_size=104857600
# =============================================================================
# PREVIEW GENERATION
# =============================================================================
# Enable Imaginary for preview generation
preview_imaginary_url=http://imaginary:9000
# Preview providers
enabledPreviewProviders[]=OC\Preview\PNG
enabledPreviewProviders[]=OC\Preview\JPEG
enabledPreviewProviders[]=OC\Preview\GIF
enabledPreviewProviders[]=OC\Preview\BMP
enabledPreviewProviders[]=OC\Preview\XBitmap
enabledPreviewProviders[]=OC\Preview\MP3
enabledPreviewProviders[]=OC\Preview\MP4
enabledPreviewProviders[]=OC\Preview\TXT
enabledPreviewProviders[]=OC\Preview\MarkDown
enabledPreviewProviders[]=OC\Preview\PDF
enabledPreviewProviders[]=OC\Preview\MSOfficeDoc
enabledPreviewProviders[]=OC\Preview\MSOffice2003
enabledPreviewProviders[]=OC\Preview\MSOffice2007
enabledPreviewProviders[]=OC\Preview\OpenDocument
enabledPreviewProviders[]=OC\Preview\Photoshop
# Preview settings
preview_max_x=2048
preview_max_y=2048
preview_max_scale_factor=10
# =============================================================================
# APPS KONFIGURATION
# =============================================================================
# Default Apps
default_app=files
# App directories
apps_paths[0][path]=/var/www/html/apps
apps_paths[0][url]=/apps
apps_paths[0][writable]=false
apps_paths[1][path]=/var/www/html/custom_apps
apps_paths[1][url]=/custom_apps
apps_paths[1][writable]=true
# =============================================================================
# MAINTENANCE
# =============================================================================
# Maintenance window (UTC time)
maintenance_window_start=1
maintenance_window_end=5
# Update check
updater.release.channel=stable
has_internet_connection=true
check_for_working_wellknown_setup=true
# =============================================================================
# WEITERE EINSTELLUNGEN
# =============================================================================
# Enable user backend
user_backends[0][class]=OC_User_Database
user_backends[0][arguments][0]=
# Skeleton directory
skeletondirectory=
# Theme
theme=
# Default language
default_language=de
# Default locale
default_locale=de_DE
# Knowledgebase enabled
knowledgebaseenabled=false
# Allow user to change display name
allow_user_to_change_display_name=true