diff --git a/utils/docker/phpdate.ini b/utils/docker/phpdate.ini index 50f2cca0f..d35b47361 100644 --- a/utils/docker/phpdate.ini +++ b/utils/docker/phpdate.ini @@ -1,5 +1,5 @@ [Date] ; Defines the default timezone used by the date functions ; http://php.net/date.timezone -date.timezone = Europe/Amsterdam +date.timezone = GMT diff --git a/utils/docker/start.sh b/utils/docker/start.sh index 4b6c0e379..0772f7b9b 100644 --- a/utils/docker/start.sh +++ b/utils/docker/start.sh @@ -1,8 +1,10 @@ #!/bin/bash # Prepare proper amount of shared memory +# For H.264 cameras it may be necessary to increase the amout of shared memory +# to 2048 megabytes. umount /dev/shm -mount -t tmpfs -o rw,nosuid,nodev,noexec,relatime,size=2048M tmpfs /dev/shm +mount -t tmpfs -o rw,nosuid,nodev,noexec,relatime,size=512M tmpfs /dev/shm # Start MySQL /usr/bin/mysqld_safe &