2016-11-01 13:51:58 +00:00
|
|
|
[Nextcloud](https://nextcloud.com/) with ldap authentication (needs a postgres database).
|
|
|
|
|
2018-01-30 11:57:11 +00:00
|
|
|
Seperately installed apps are not persistent because there is no possibility of
|
|
|
|
setting the app_path with occ.
|
|
|
|
|
2016-11-01 13:51:58 +00:00
|
|
|
# Volumes
|
|
|
|
- `/var/lib/nextcloud/data`
|
2018-01-30 11:57:11 +00:00
|
|
|
- `/etc/nextcloud/`
|
2016-11-01 13:51:58 +00:00
|
|
|
|
|
|
|
# Environment Variables
|
|
|
|
## DOMAIN
|
|
|
|
Domain where the nextcloud instance is reachable.
|
|
|
|
|
|
|
|
## MAX_UPLOAD_SIZE
|
|
|
|
- default: 512M
|
|
|
|
|
|
|
|
Maximal upload size of a file.
|
|
|
|
|
|
|
|
## DB_HOST
|
|
|
|
Database host.
|
|
|
|
|
|
|
|
## DB_NAME
|
|
|
|
Database name.
|
|
|
|
|
|
|
|
## DB_USER
|
|
|
|
Database user.
|
|
|
|
|
|
|
|
## DB_PASSWORD
|
|
|
|
Password for the database user.
|
|
|
|
|
|
|
|
## DB_TABLE_PREFIX
|
|
|
|
Table prefix in the database.
|
|
|
|
|
|
|
|
## IMAP_AUTH_HOST
|
|
|
|
AUthentication string for the IMAP authentication.
|
|
|
|
|
|
|
|
For example `mail.example.com:143/imap/tls`
|
|
|
|
|
|
|
|
## MAIL_DOMAIN
|
|
|
|
Domain part in the from address for notification emails.
|
|
|
|
|
|
|
|
## MAIL_FROM
|
|
|
|
Local part in the from address for notification emails.
|
|
|
|
|
|
|
|
## MAIL_SMTP_HOST
|
|
|
|
SMTP host used for notification emails.
|
|
|
|
|
2018-01-30 07:36:21 +00:00
|
|
|
## MAIL_SMTP_PORT
|
2016-11-01 13:51:58 +00:00
|
|
|
- default: 587
|
|
|
|
|
|
|
|
SMTP host port.
|
|
|
|
|
|
|
|
## MAIL_SMTP_SECURITY
|
|
|
|
- default: tls
|
|
|
|
|
|
|
|
Connection security for the SMTP host.
|
|
|
|
|
|
|
|
## MAIL_SMTP_AUTH
|
2018-01-30 07:36:21 +00:00
|
|
|
- default: 1
|
2016-11-01 13:51:58 +00:00
|
|
|
|
|
|
|
Whether to use authentication with the SMTP host.
|
|
|
|
|
|
|
|
## MAIL_SMTP_AUTH_TYPE
|
|
|
|
- default: PLAIN
|
|
|
|
|
|
|
|
Authentication type for the SMTP host.
|
|
|
|
|
|
|
|
## MAIL_SMTP_NAME
|
|
|
|
Username for SMTP authentication.
|
|
|
|
|
|
|
|
## MAIL_SMTP_PASSWORD
|
|
|
|
Password for SMTP authentication.
|
|
|
|
|
|
|
|
## LDAP_HOST
|
|
|
|
Ldap host.
|
|
|
|
|
|
|
|
## LDAP_PORT
|
2018-01-30 07:42:09 +00:00
|
|
|
- default: 389
|
|
|
|
|
2016-11-01 13:51:58 +00:00
|
|
|
Ldap port.
|
|
|
|
|
|
|
|
## LDAP_TLS
|
|
|
|
Whether the ldap connection should use tls.
|
|
|
|
|
|
|
|
## LDAP_BIND_USER
|
|
|
|
Bind DN to use when connecting to the ldap host.
|
|
|
|
|
|
|
|
## LDAP_BIND_PASSWORD
|
|
|
|
Password to use when connecting to the ldap host.
|
|
|
|
|
|
|
|
## LDAP_LOGIN_FILTER
|
|
|
|
Ldap filter to see if a user is allowed to login. `%uid` is replaces with the username.
|
|
|
|
|
|
|
|
## LDAP_USER_DISPLAY_NAME
|
|
|
|
Ldap attribute for the display name.
|
|
|
|
|
|
|
|
## LDAP_USER_FILTER
|
|
|
|
Ldap filter to find valid users.
|
|
|
|
|
|
|
|
## LDAP_BASE_DN
|
|
|
|
Base DN of the ldap host.
|
|
|
|
|
|
|
|
## LDAP_BASE_USER_DN
|
|
|
|
Base DN when searching for users.
|
|
|
|
|
|
|
|
## LDAP_BASE_GROUP_DN
|
|
|
|
Base DN when looking for groups.
|
|
|
|
|
|
|
|
## LDAP_GROUP_FILTER
|
|
|
|
Ldap filter to find valid groups.
|
|
|
|
|
|
|
|
## LDAP_EMAIL_ATTRIBUTE
|
|
|
|
Ldap attribute for the email.
|
|
|
|
|
2018-01-30 09:15:20 +00:00
|
|
|
## LDAP_UID_ATTRIBUTE
|
|
|
|
Ldap attribute for the user id.
|
|
|
|
|
2016-11-01 13:51:58 +00:00
|
|
|
# Ports
|
|
|
|
- 80
|
|
|
|
|
|
|
|
# Capabilities
|
|
|
|
- CHOWN
|
|
|
|
- DAC_OVERRIDE
|
|
|
|
- NET_BIND_SERVICE
|
|
|
|
- FOWNER
|
|
|
|
- SETGID
|
|
|
|
- SETUID
|