Skip to content

Instantly share code, notes, and snippets.

View kubrey's full-sized avatar

Sergey Snegur kubrey

  • Helium10
  • Moldova, Tiraspol
View GitHub Profile
@kubrey
kubrey / docker-compose.yml
Last active August 7, 2017 17:12
Docker for php5.6+mysql+nginx+mongodb 3.0
web:
image: nginx:latest
ports:
- "8080:80"
volumes:
- ./dockloc/public:/var/www/dockloc/public
- ./vhost.conf:/etc/nginx/conf.d/dockloc.conf
links:
- php
php:
@kubrey
kubrey / motion.conf
Last active March 29, 2016 18:48
Motion configuration file(Mr-Dave's fork). Be careful with parameters because they may be named differ from the original motion
# Rename this distribution example file to motion.conf
#
# This config file was generated by motion 3.2.12
############################################################
# Daemon
############################################################
# Start in daemon (background) mode and release terminal (default: off)
@kubrey
kubrey / motion-rtsp.sh
Last active February 28, 2020 21:37
Installing motion for RTSP stream
sudo apt-get install autoconf automake build-essential libtool libjpeg8-dev libzip-dev
mkdir programms
cd programms/
git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
cd ffmpeg
# ffmpeg may take a long time to compile(more than hour on my raspberry pi)
./configure
make
sudo make install
#default motion does not support RTSP streaming, using Mr-Dave's fork