vars umsortiert

This commit is contained in:
Michael Grote 2024-05-31 14:15:35 +02:00
parent 9e474d9ed7
commit 979b60b2cd

View file

@ -75,20 +75,24 @@ services:
- nextcloud-redis-ldap - nextcloud-redis-ldap
- nextcloud-cron-ldap - nextcloud-cron-ldap
environment: environment:
# redis
REDIS_HOST: nextcloud-redis-ldap REDIS_HOST: nextcloud-redis-ldap
REDIS_HOST_PASSWORD: "{{ lookup('keepass', 'nextcloud_redis_host_password', 'password') }}" REDIS_HOST_PASSWORD: "{{ lookup('keepass', 'nextcloud_redis_host_password', 'password') }}"
# mysql
MYSQL_DATABASE: nextcloud MYSQL_DATABASE: nextcloud
MYSQL_USER: nextcloud MYSQL_USER: nextcloud
MYSQL_PASSWORD: "{{ lookup('keepass', 'nextcloud_mysql_password', 'password') }}" MYSQL_PASSWORD: "{{ lookup('keepass', 'nextcloud_mysql_password', 'password') }}"
MYSQL_HOST: nextcloud-db-ldap MYSQL_HOST: nextcloud-db-ldap
NEXTCLOUD_TRUSTED_DOMAINS: "nextcloud.mgrote.net" # mail
SMTP_HOST: mail-relay SMTP_HOST: mail-relay
#SMTP_SECURE: tls
SMTP_PORT: 25 SMTP_PORT: 25
#SMTP_AUTHTYPE: LOGIN
SMTP_NAME: info@mgrote.net SMTP_NAME: info@mgrote.net
#SMTP_PASSWORD: "{{ lookup('keepass', 'strato_smtp_password', 'password') }}"
MAIL_FROM_ADDRESS: info@mgrote.net MAIL_FROM_ADDRESS: info@mgrote.net
# admin
NEXTCLOUD_ADMIN_USER: n-admin
NEXTCLOUD_ADMIN_PASSWORD: "{{ lookup('keepass', 'nextcloud_admin_user_password', 'password') }}"
# misc
NEXTCLOUD_TRUSTED_DOMAINS: "nextcloud.mgrote.net"
PHP_MEMORY_LIMIT: 1024M PHP_MEMORY_LIMIT: 1024M
PHP_UPLOAD_LIMIT: 10G PHP_UPLOAD_LIMIT: 10G
APACHE_DISABLE_REWRITE_IP: 1 APACHE_DISABLE_REWRITE_IP: 1
@ -96,8 +100,6 @@ services:
NEXTCLOUD_UPLOAD_LIMIT: 10G NEXTCLOUD_UPLOAD_LIMIT: 10G
NEXTCLOUD_MAX_TIME: 3600 NEXTCLOUD_MAX_TIME: 3600
APACHE_BODY_LIMIT: 0 # unlimited, https://github.com/nextcloud/docker/issues/1796 APACHE_BODY_LIMIT: 0 # unlimited, https://github.com/nextcloud/docker/issues/1796
NEXTCLOUD_ADMIN_USER: n-admin
NEXTCLOUD_ADMIN_PASSWORD: "{{ lookup('keepass', 'nextcloud_admin_user_password', 'password') }}"
volumes: volumes:
- app-ldap:/var/www/html - app-ldap:/var/www/html
- data-ldap:/var/www/html/data - data-ldap:/var/www/html/data