Go to file
2020-06-03 17:03:06 +00:00
rootfs rewrite well known urls correctly 2020-03-12 11:43:51 +01:00
.editorconfig add gitlab ci file 2018-01-29 22:10:11 +01:00
.gitignore initial commit 2016-08-31 14:55:12 +02:00
.gitlab-ci.yml remove dind service for pipeline 2019-10-08 14:09:51 +02:00
Dockerfile add email app 2020-06-03 17:03:06 +00:00
README.md add ASSUME_HTTPS parameter 2019-06-24 12:48:07 +02:00

Nextcloud with ldap authentication (needs a postgres database).

Seperately installed apps are not persistent because there is no possibility of setting the app_path with occ.

Volumes

  • /var/lib/nextcloud/data
  • /var/lib/nextcloud/config

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.

MAIL_SMTP_PORT

  • default: 587

SMTP host port.

MAIL_SMTP_SECURITY

  • default: tls

Connection security for the SMTP host.

MAIL_SMTP_AUTH

  • default: 1

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

  • default: 389

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.

LDAP_UID_ATTRIBUTE

Ldap attribute for the user id.

ASSUME_HTTPS

  • default: on The value of fastcgi_param HTTPS.

Either on or off.

Ports

  • 80

Capabilities

  • CHOWN
  • DAC_OVERRIDE
  • NET_BIND_SERVICE
  • FOWNER
  • SETGID
  • SETUID