Тема на 4pda.ru: https://4pda.ru/forum/index.php?showtopic=638230
ссылка на RTSP:
rtsp://CAMERAIP:554/ch0_1.h264
rtsp://CAMERAIP:554/ch0_0.h264
telnet:
user: root
passwd: 1234qwer
Тема на 4pda.ru: https://4pda.ru/forum/index.php?showtopic=638230
ссылка на RTSP:
rtsp://CAMERAIP:554/ch0_1.h264
rtsp://CAMERAIP:554/ch0_0.h264
telnet:
user: root
passwd: 1234qwer
# Display current git branch in bash prompt | |
c_red=`tput setaf 1` | |
c_green=`tput setaf 2` | |
c_blue=`tput setaf 4` | |
c_sgr0=`tput sgr0` | |
parse_git_branch () | |
{ | |
if git rev-parse --git-dir >/dev/null 2>&1 | |
then |
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin | |
* * * * * $(docker ps -a --filter=label=io.yucca.task --format '- targets: ["{{.ID}}"]\n labels:\n container_name: "{{.Names}}"\n task_id: "{{.Label "io.yucca.task"}}"\n job: "containers"' > /opt/loki/promtail/promtail-targets.yaml) |
version: "3" | |
networks: | |
loki: | |
services: | |
promtail: | |
image: grafana/promtail:latest | |
restart: always | |
volumes: |
server: | |
http_listen_port: 9080 | |
grpc_listen_port: 0 | |
positions: | |
filename: /tmp/positions.yaml | |
client: | |
url: http://localhost:3100/api/prom/push |
#!/bin/sh | |
# For install | |
# curl -sSL raw_url | sh | |
GO_VERSION_DEFAULT=1.11.4 | |
if [ -z "$GO_VERSION" ]; then | |
GO_VERSION=$GO_VERSION_DEFAULT | |
fi |
global | |
daemon | |
maxconn 4096 | |
log 172.17.0.1:514 local0 | |
stats socket /var/run/haproxy.sock mode 600 | |
defaults | |
log global | |
retries 7 | |
option httplog |