-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
241 lines (215 loc) · 11.1 KB
/
.env.example
File metadata and controls
241 lines (215 loc) · 11.1 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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
# Copy this file to '.env'
PODMAN_NAMESPACE=yourcompanyname
PODMAN_SERVICE=nextcloud
PODMAN_STAGE=prod
# User and group IDs and names running the containers
# Depending on your system setup ${UID}, ${GID} and ${USER} may not be set
# You can uncomment and set them manually if needed
# Some containers may need to be run with names instead of IDs, so all four variable values must be provided
PODMAN_USER_UID=${UID}
PODMAN_GROUP_GID=${GID}
# PODMAN_USER_UID=
# PODMAN_GROUP_GID=
# SQL database
# 'mariadb' for MariaDB
# 'postgres' for Postgres
PODMAN_SQL_DATABASE=postgres
PODMAN_SQL_DATABASE_REQUIRED_MARIADB=false
PODMAN_SQL_DATABASE_REQUIRED_POSTGRES=true
# Key-value database
# 'redis' for Redis
# 'valkey' for Valkey
PODMAN_KEY_VALUE_DATABASE=valkey
PODMAN_KEY_VALUE_DATABASE_REQUIRED_REDIS=false
PODMAN_KEY_VALUE_DATABASE_REQUIRED_VALKEY=true
# SSL
PODMAN_SSL_DIR_HOST=/your/absolute/path/to/configs/ssl
# clamav
# https://hub.docker.com/r/clamav/clamav/
PODMAN_CLAMAV_IMAGE=docker.io/clamav/clamav:1.5.2@sha256:d772ad4aae0f7f2fb6fe7e7af570b5c4025ce9327d88ddba763fe015b02b564f
PODMAN_CLAMAV_DATA_DIR_HOST=/your/absolute/path/to/data/clamav_data
PODMAN_CLAMAV_DATA_DIR_CONTAINER=/var/lib/clamav
PODMAN_CLAMAV_LOG_DIR_HOST=/your/absolute/path/to/data/clamav_log
PODMAN_CLAMAV_LOG_DIR_CONTAINER=/var/log/clamav
CLAMAV_AV_HOST=clamav
CLAMAV_AV_PORT=3310
CLAMAV_AV_MODE=daemon
CLAMAV_AV_SOCKET=/var/run/clamav/clamd.ctl
CLAMAV_AV_CMD_OPTIONS=
CLAMAV_AV_INFECTION_ACTION=only_log
CLAMAV_AV_STREAM_MAX_LENGTH=26214400
CLAMAV_AV_MAX_FILE_SIZE=-1
CLAMAV_AV_SCAN_FIRST_BYTES=-1
CLAMAV_AV_ICAP_MODE=reqmod
CLAMAV_AV_ICAP_REQUEST_SERVICE=avscan
CLAMAV_AV_ICAP_RESPONSE_HEADER=X-Infection-Found
CLAMAV_AV_ICAP_TLS=0
CLAMAV_AV_BLOCK_UNSCANNABLE=0
CLAMAV_AV_BLOCK_UNREACHABLE=yes
# installer
# Several variables are set in the 'phpfpm' section
PODMAN_INSTALLER_NEXTCLOUD_CONFIG_SCRIPT_FILE_HOST=${PWD}/configs/installer/nextcloud_config_default.php
# PODMAN_INSTALLER_NEXTCLOUD_CONFIG_SCRIPT_FILE_HOST=/your/absolute/path/to/configs/installer/nextcloud_config.php
PODMAN_INSTALLER_NEXTCLOUD_CONFIG_SCRIPT_FILE_CONTAINER=/etc/nextcloud_config.php
PODMAN_INSTALLER_ENTRYPOINT_SCRIPT_FILE_HOST=${PWD}/configs/installer/entrypoint_default.sh
# PODMAN_INSTALLER_ENTRYPOINT_SCRIPT_FILE_HOST=/your/absolute/path/to/configs/installer/entrypoint.sh
PODMAN_INSTALLER_ENTRYPOINT_SCRIPT_FILE_CONTAINER=/etc/entrypoint.sh
PODMAN_INSTALLER_NEXTCLOUD_SETUP_SCRIPT_FILE_HOST=${PWD}/configs/installer/nextcloud_setup_default.sh
# PODMAN_INSTALLER_NEXTCLOUD_SETUP_SCRIPT_FILE_HOST=/your/absolute/path/to/configs/installer/nextcloud_setup.sh
PODMAN_INSTALLER_NEXTCLOUD_SETUP_SCRIPT_FILE_CONTAINER=/etc/nextcloud_setup.sh
# manager
PODMAN_MANAGER_CONFIGURE_NOTIFY_PUSH_SCRIPT_FILE_HOST=${PWD}/configs/manager/configure_notify_push_default.sh
# PODMAN_MANAGER_CONFIGURE_NOTIFY_PUSH_SCRIPT_FILE_HOST=/your/absolute/path/to/configs/manager/configure_notify_push.sh
PODMAN_MANAGER_CONFIGURE_NOTIFY_PUSH_SCRIPT_FILE_CONTAINER=/etc/configure_notify_push.sh
PODMAN_MANAGER_CRON_ROOT_FILE_HOST=${PWD}/configs/manager/cron/root_default
# PODMAN_MANAGER_CRON_ROOT_FILE_HOST=/your/absolute/path/to/configs/manager/cron/cron_root
PODMAN_MANAGER_CRON_ROOT_FILE_CONTAINER=/etc/crontabs/root
PODMAN_MANAGER_ENTRYPOINT_SCRIPT_FILE_HOST=${PWD}/configs/manager/entrypoint_default.sh
# PODMAN_MANAGER_ENTRYPOINT_SCRIPT_FILE_HOST=/your/absolute/path/to/configs/manager/entrypoint.sh
PODMAN_MANAGER_ENTRYPOINT_SCRIPT_FILE_CONTAINER=/etc/entrypoint.sh
# mariadb
# https://hub.docker.com/_/mariadb
PODMAN_MARIADB_IMAGE=docker.io/mariadb:11.4.10-ubi9@sha256:aa9c6897ed1a6c39e398fd68856fd8e35bbbe904e8edc98b596a7e14ab8beb66
# Uncomment if you want to use a custom mariadb.conf file:
# PODMAN_MARIADB_CONF_FILE_HOST=/your/absolute/path/to/configs/mariadb/mariadb.conf
# PODMAN_MARIADB_CONF_FILE_CONTAINER=/etc/mariadb/mariadb.conf
PODMAN_MARIADB_DATA_DIR_HOST=/your/absolute/path/to/data/mariadb
PODMAN_MARIADB_DATA_DIR_CONTAINER=/var/lib/mysql
MARIADB_HOST=mariadb
MARIADB_DB=nextcloud
MARIADB_USER=nextcloud
MARIADB_PASSWORD='a_secure_password'
MARIADB_ROOT_PASSWORD='a_secure_password'
# Will always be used (true) if it's not empty
# Set to = (without value) if you don't want to use it (false)
MARIADB_AUTO_UPGRADE=this_variable_is_used_when_not_empty
# nginx
# https://hub.docker.com/r/nginxinc/nginx-unprivileged
PODMAN_NGINX_IMAGE=docker.io/nginxinc/nginx-unprivileged:1.29.3-alpine3.22@sha256:5aea7cc516b419e3526f47dd1531be31a56a046cfe44754d94f9383e13e2ee99
PODMAN_NGINX_CONF_DIR_HOST=/your/absolute/path/to/configs/nginx/conf
PODMAN_NGINX_CONF_DIR_CONTAINER=/etc/nginx/conf.d
PODMAN_NGINX_SSL_DIR_CONTAINER=/etc/ssl/nginx
NGINX_INTERNAL_URL=https://nginx:8443
# phpfpm
# https://hub.docker.com/_/php
PODMAN_PHPFPM_IMAGE=docker.io/php:8.4.19-fpm-alpine3.22@sha256:d4d819a881296479b471c2f61a99397c03bffe1ee28ef8310e50fc4e1d647457
PODMAN_PHPFPM_CONF_FILE_HOST=${PWD}/configs/phpfpm/conf/zzz-www_default.conf
# PODMAN_PHPFPM_CONF_FILE_HOST=/your/absolute/path/to/configs/phpfpm/conf/zzz-www.conf
PODMAN_PHPFPM_CONF_FILE_CONTAINER=/usr/local/etc/php-fpm.d/zzz-www.conf
PODMAN_PHPFPM_INI_FILE_HOST=${PWD}/configs/phpfpm/ini/nextcloud_default.ini
# PODMAN_PHPFPM_INI_FILE_HOST=/your/absolute/path/to/configs/phpfpm/ini/nextcloud.ini
PODMAN_PHPFPM_INI_FILE_CONTAINER=/usr/local/etc/php/conf.d/nextcloud.ini
PODMAN_PHPFPM_HEALTHCHECK_FILE_HOST=${PWD}/configs/phpfpm/nextcloud_status_default.php
# PODMAN_PHPFPM_HEALTHCHECK_FILE_HOST=/your/absolute/path/to/configs/phpfpm/nextcloud_status.php
PODMAN_PHPFPM_HEALTHCHECK_FILE_CONTAINER=/etc/nextcloud_status.php
# postgres
# https://hub.docker.com/_/postgres
PODMAN_POSTGRES_IMAGE=docker.io/postgres:17.9-alpine3.22@sha256:d5914d9850b32edc53951703b334538a777f48e8ba7555a17748642433f39b63
# Uncomment if you want to use a custom postgresql.conf file:
# PODMAN_POSTGRES_CONF_FILE_HOST=/your/absolute/path/to/configs/postgres/postgres.conf
# PODMAN_POSTGRES_CONF_FILE_CONTAINER=/etc/postgresql/postgresql.conf
PODMAN_POSTGRES_DATA_DIR_HOST=/your/absolute/path/to/data/postgres
PODMAN_POSTGRES_DATA_DIR_CONTAINER=/var/lib/postgresql/data
POSTGRES_HOST=postgres
POSTGRES_DB=nextcloud
POSTGRES_USER=nextcloud
POSTGRES_PASSWORD='a_secure_password'
# redis
# https://hub.docker.com/_/redis
PODMAN_REDIS_IMAGE=docker.io/redis:8.4.2-alpine3.22@sha256:4a08b3d3a06b844117ead1cc4a267085169864151290d1f286eee9ad121a04fc
# Uncomment if you want to use a custom redis.conf file:
# PODMAN_REDIS_CONF_FILE_HOST=/your/absolute/path/to/configs/redis/redis.conf
# PODMAN_REDIS_CONF_FILE_CONTAINER=/usr/local/etc/redis/redis.conf
PODMAN_REDIS_DATA_DIR_HOST=/your/absolute/path/to/data/redis
PODMAN_REDIS_DATA_DIR_CONTAINER=/data
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_USER=nextcloud
# TODO @TheRealBecks: REDIS_PASSWORD is not used
REDIS_PASSWORD='a_secure_password'
# valkey
# https://hub.docker.com/r/valkey/valkey/
PODMAN_VALKEY_IMAGE=docker.io/valkey/valkey:8.1.4-alpine3.22@sha256:e706d1213aaba6896c162bb6a3a9e1894e1a435f28f8f856d14fab2e10aa098b
# Uncomment if you want to use a custom valkey.conf file:
# PODMAN_VALKEY_CONF_FILE_HOST=/your/absolute/path/to/configs/valkey/valkey.conf
# PODMAN_VALKEY_CONF_FILE_CONTAINER=/usr/local/etc/valkey/valkey.conf
PODMAN_VALKEY_DATA_DIR_HOST=/your/absolute/path/to/data/valkey
PODMAN_VALKEY_DATA_DIR_CONTAINER=/data
VALKEY_HOST=valkey
VALKEY_PORT=6379
# user and password are not used: https://github.com/valkey-io/valkey-container/issues/71
VALKEY_USER=nextcloud
# TODO @TheRealBecks: VALKEY_PASSWORD is not used
VALKEY_PASSWORD='a_secure_password'
# whiteboard
# https://github.com/nextcloud/whiteboard
PODMAN_WHITEBOARD_IMAGE=ghcr.io/nextcloud-releases/whiteboard:v1.5.7@sha256:4ca6103eeab072c010b1d7acb04e0af08d48b1f6f53b0328c4180a40ae5d89ad
WHITEBOARD_STORAGE_STRATEGY=redis
WHITEBOARD_JWT_SECRET_KEY='a_secure_password'
# notifypush
# https://github.com/nextcloud/notify_push
PODMAN_NOTIFYPUSH_RUST_IMAGE=docker.io/rust:1.93.1-alpine3.23@sha256:4fec02de605563c297c78a31064c8335bc004fa2b0bf406b1b99441da64e2d2d
PODMAN_NOTIFYPUSH_ALPINE_IMAGE=docker.io/alpine:3.23.3@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659
NOTIFYPUSH_REPOSITORY=https://github.com/nextcloud/notify_push.git
NOTIFYPUSH_VERSION=v1.3.0
# Nextcloud
# https://github.com/nextcloud/server
NEXTCLOUD_VERSION=32.0.6
# https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html
# on or off
NEXTCLOUD_MAINTENANCE=off
NEXTCLOUD_ADMIN_USER=admin
NEXTCLOUD_ADMIN_PASSWORD='a_secure_password'
PODMAN_NEXTCLOUD_DATA_DIR_HOST=/your/absolute/path/to/data/nextcloud
PODMAN_NEXTCLOUD_DATA_DIR_CONTAINER=/var/www/nextcloud
# Also used as NC_datadirectory
PODMAN_NEXTCLOUD_USER_DATA_DIR_HOST=/your/absolute/path/to/data/nextcloud_data
PODMAN_NEXTCLOUD_USER_DATA_DIR_CONTAINER=/var/www/nextcloud_data
NEXTCLOUD_PERSISTENT_DATABASE_CONNECTION=true
# We need to configure the domain twice: NEXTCLOUD_DOMAIN, NEXTCLOUD_TRUSTED_DOMAINS
NEXTCLOUD_DOMAIN=nextcloud.example.com
# https://github.com/nextcloud/server/issues/49658
# Whitespace separated string enclosed in double quotes
NEXTCLOUD_TRUSTED_DOMAINS="localhost nextcloud.example.com"
NEXTCLOUD_TRUSTED_PROXIES="127.0.0.1 ::1 10.0.0.0/8 fc00::/7"
# Language and region settings
NEXTCLOUD_DEFAULT_LANGUAGE=de_DE
NEXTCLOUD_DEFAULT_PHONE_REGION=DE
NEXTCLOUD_DEFAULT_TIMEZONE=Europe/Berlin
# Other
NEXTCLOUD_KNOWLEDGEBASE_ENABLED=true
NEXTCLOUD_ALLOW_USER_TO_CHANGE_DISPLAY_NAME=true
NEXTCLOUD_SKELETON_DIRECTORY=
NEXTCLOUD_TEMPLATE_DIRECTORY=
# User session
NEXTCLOUD_REMEMBER_LOGIN_COOKIE_LIFETIME=2592000
NEXTCLOUD_SESSION_LIFETIME=86400
NEXTCLOUD_DAVSTORAGE_REQUEST_TIMEOUT=30
NEXTCLOUD_CARDDAV_SYNC_REQUEST_TIMEOUT=30
NEXTCLOUD_CARDDAV_SYNC_REQUEST_TRUNCATION=2500
NEXTCLOUD_SESSION_RELAXED_EXPIRY=false
NEXTCLOUD_SESSION_KEEPALIVE=true
# Valkey / Redis
NEXTCLOUD_REDIS_DBINDEX=0 # integer
NEXTCLOUD_REDIS_TIMEOUT=1.0 # float
NEXTCLOUD_REDIS_READ_TIMEOUT=1.0 # float
# SMTP and mail
NC_mail_sendmailmode='smtp'
NC_mail_smtpmode='smtp'
# Should be empty for STARTTLS. When using SSL set to 'ssl'
NC_mail_smtpsecure=''
# Emails will be send from NEXTCLOUD_MAIL_FROM_ADDRESS@NEXTCLOUD_MAIL_DOMAIN
NC_mail_from_address='nextcloud'
NC_mail_domain='nextcloud.example.com'
# Configuration of the external SMTP server and account
NC_mail_smtphost='smtp.example.com'
NC_mail_smtpport='587'
NC_mail_smtpauth=true
NC_mail_smtpname='your_account_username'
NC_mail_smtppassword='your_account_password'
# Apps
# Whitespace separated string enclosed in double quotes
NEXTCLOUD_APPS_INSTALLED="admin_audit announcementcenter calendar collectives contacts cospend deck drawio files_accesscontrol files_antivirus files_automatedtagging files_confidential files_retention forms groupfolders mail notify_push quota_warning richdocuments richdocumentscode spreed tables terms_of_service twofactor_nextcloud_notification user_saml whiteboard"
NEXTCLOUD_APPS_REMOVED=""
NEXTCLOUD_APPS_ENABLED="admin_audit announcementcenter calendar collectives contacts cospend deck drawio files_accesscontrol files_antivirus files_automatedtagging files_confidential files_retention forms groupfolders mail notify_push quota_warning richdocuments richdocumentscode spreed tables terms_of_service twofactor_nextcloud_notification user_saml whiteboard"
NEXTCLOUD_APPS_DISABLED=""