Add more env vars to Nextcloud
This commit is contained in:
parent
ab95d9e771
commit
e60382183b
|
@ -52,16 +52,6 @@
|
||||||
tmpfs:
|
tmpfs:
|
||||||
- /var/lib/redis
|
- /var/lib/redis
|
||||||
|
|
||||||
cron:
|
|
||||||
image: nextcloud:{{ services.nextcloud.version }}
|
|
||||||
restart: unless-stopped
|
|
||||||
entrypoint: /cron.sh
|
|
||||||
volumes:
|
|
||||||
- "{{ services.nextcloud.volume }}/app:/var/www/html:rw"
|
|
||||||
depends_on:
|
|
||||||
- postgres
|
|
||||||
- redis
|
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: nextcloud:{{ services.nextcloud.version }}
|
image: nextcloud:{{ services.nextcloud.version }}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -74,8 +64,14 @@
|
||||||
REDIS_HOST_PASSWORD: "{{ secrets.nextcloud.redis_pw }}"
|
REDIS_HOST_PASSWORD: "{{ secrets.nextcloud.redis_pw }}"
|
||||||
MAIL_FROM_ADDRESS: noreply
|
MAIL_FROM_ADDRESS: noreply
|
||||||
MAIL_DOMAIN: "{{ services.nextcloud.domain }}"
|
MAIL_DOMAIN: "{{ services.nextcloud.domain }}"
|
||||||
|
SMTP_AUTHTYPE: PLAIN
|
||||||
SMTP_HOST: postfix
|
SMTP_HOST: postfix
|
||||||
SMTP_PORT: 587
|
SMTP_PORT: 587
|
||||||
|
TRUSTED_PROXIES: 172.16.3.2
|
||||||
|
OVERWRITEHOST: "{{ services.nextcloud.domain }}"
|
||||||
|
OVERWRITEPROTOCOL: https
|
||||||
|
OVERWRITECLIURL: https://{{ services.nextcloud.domain }}
|
||||||
|
NEXTCLOUD_INIT_LOCK: 'true'
|
||||||
PHP_MEMORY_LIMIT: 2G
|
PHP_MEMORY_LIMIT: 2G
|
||||||
PHP_UPLOAD_LIMIT: 16G
|
PHP_UPLOAD_LIMIT: 16G
|
||||||
networks:
|
networks:
|
||||||
|
@ -92,6 +88,15 @@
|
||||||
- postgres
|
- postgres
|
||||||
- redis
|
- redis
|
||||||
|
|
||||||
|
cron:
|
||||||
|
image: nextcloud:{{ services.nextcloud.version }}
|
||||||
|
restart: unless-stopped
|
||||||
|
entrypoint: /cron.sh
|
||||||
|
volumes:
|
||||||
|
- "{{ services.nextcloud.volume }}/app:/var/www/html:rw"
|
||||||
|
depends_on:
|
||||||
|
- app
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
postfix:
|
postfix:
|
||||||
external: true
|
external: true
|
||||||
|
|
Reference in a new issue