Skip to content
Snippets Groups Projects
Commit 881bba17 authored by jurgenhaas's avatar jurgenhaas
Browse files

Make dns ip optional

parent d33d603e
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,9 @@ services:
MYSQL_USER: nextcloud
MYSQL_PASSWORD: nextcloud
MYSQL_LOG_CONSOLE: 0
{% if nextcloud.dnsip is defined %}
dns: '{{ nextcloud.dnsip }}'
{% endif %}
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
......@@ -28,7 +30,9 @@ services:
PHP_SENDMAIL_PATH: /usr/sbin/sendmail -t -i -S mailhog:1025
PHP_OPCACHE_INTERNED_STRINGS_BUFFER: 16
COMPOSER_ALLOW_SUPERUSER: 1
{% if nextcloud.dnsip is defined %}
dns: '{{ nextcloud.dnsip }}'
{% endif %}
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
......@@ -88,7 +92,9 @@ services:
- default
environment:
extra_params: '--o:ssl.enable=false --o:ssl.termination=true'
{% if nextcloud.dnsip is defined %}
dns: '{{ nextcloud.dnsip }}'
{% endif %}
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment