mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-21 17:56:53 +02:00
switch to new domain: easypi.info
This commit is contained in:
parent
a9919aa78b
commit
202392cdc6
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
ENV TOKEN 00000000-0000-0000-0000-000000000000
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM ubuntu
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt install -y cmake \
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM debian:jessie
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y curl \
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM debian
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN set -xe \
|
||||
&& apt-get update \
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --update ca-certificates device-mapper \
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM debian:jessie
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
ENV PHANTOM_VER 2.1.1
|
||||
ENV PHANTOM_URL https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-${PHANTOM_VER}-linux-x86_64.tar.bz2
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM debian:jessie
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
ENV DNS_VER 1.3.2
|
||||
ENV DNS_URL https://github.com/clowwindy/ChinaDNS/releases/download/${DNS_VER}/chinadns-${DNS_VER}.tar.gz
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add -U clamav clamav-libunrar \
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN apk add -U collectd collectd-dev \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN apk add -U build-base \
|
||||
libffi \
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM debian:jessie
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
|
||||
ENV DANTE_VER 1.4.1
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM debian
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
ENV DG_VERSION 9_9_13
|
||||
ENV DG_FILE linux2.6-dg${DG_VERSION}.tar.gz
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM php:5.6-apache
|
||||
MAINTAINER kev<noreply@datageek.info>
|
||||
MAINTAINER kev<noreply@easypi.info>
|
||||
|
||||
RUN set -xe \
|
||||
&& apt-get update \
|
||||
|
@ -41,7 +41,7 @@ mysql:
|
||||
```
|
||||
server {
|
||||
listen 80;
|
||||
server_name discuz.datageek.info;
|
||||
server_name discuz.easypi.info;
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8000;
|
||||
proxy_set_header Host $host;
|
||||
|
@ -16,7 +16,7 @@ dnscrypt
|
||||
environment:
|
||||
- LISTEN_ADDR=0.0.0.0:443
|
||||
- RESOLVER_ADDR=8.8.8.8:53
|
||||
- PROVIDER_NAME=2.dnscrypt-cert.datageek.info
|
||||
- PROVIDER_NAME=2.dnscrypt-cert.easypi.info
|
||||
restart: always
|
||||
|
||||
proxy:
|
||||
@ -27,7 +27,7 @@ dnscrypt
|
||||
environment:
|
||||
- LISTEN_ADDR=0.0.0.0:443
|
||||
- RESOLVER_ADDR=1.2.3.4:443
|
||||
- PROVIDER_NAME=2.dnscrypt-cert.datageek.info
|
||||
- PROVIDER_NAME=2.dnscrypt-cert.easypi.info
|
||||
- PROVIDER_KEY=4C29:9CEB:CF8D:4612:48A8:B2F2:3B6F:A046:EBF5:2F2B:6433:27C6:5F3A:88F5:495E:3075
|
||||
restart: always
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM debian:jessie
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
ENV LIBSODIUM_VERSION 1.0.10
|
||||
ENV DNSCRYPT_VERSION 1.6.1
|
||||
|
@ -1,6 +1,6 @@
|
||||
Package: dnscrypt-proxy
|
||||
Version: 1.6.1-1
|
||||
Maintainer: noreply@datageek.info
|
||||
Maintainer: noreply@easypi.info
|
||||
Depends:
|
||||
Homepage: https://dnscrypt.org/
|
||||
Architecture: armhf
|
||||
|
@ -3,13 +3,13 @@
|
||||
#
|
||||
|
||||
FROM debian:jessie
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
ENV LIBSODIUM_VERSION 1.0.10
|
||||
ENV DNSCRYPT_VERSION 0.2
|
||||
ENV RESOLVER_ADDR 8.8.8.8:53
|
||||
ENV LISTEN_ADDR 0.0.0.0:443
|
||||
ENV PROVIDER_NAME 2.dnscrypt-cert.datageek.info
|
||||
ENV PROVIDER_NAME 2.dnscrypt-cert.easypi.info
|
||||
|
||||
RUN set -xe \
|
||||
&& apt-get update \
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <norelply@datageek.info>
|
||||
MAINTAINER kev <norelply@easypi.info>
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add -U dnsmasq \
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
WORKDIR /var/www/html
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
#
|
||||
|
||||
FROM php:5.6-apache
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
WORKDIR /var/www/html
|
||||
|
||||
|
@ -10,9 +10,9 @@ drone
|
||||
# Github » Settings » Applications » Developer applications » Register new application
|
||||
#
|
||||
Application name: drone
|
||||
Homepage URL: http://drone.datageek.info/
|
||||
Homepage URL: http://drone.easypi.info/
|
||||
Application description: Drone is a Continuous Integration platform built on Docker, written in Go
|
||||
Authorization callback URL: http://drone.datageek.info/authorize
|
||||
Authorization callback URL: http://drone.easypi.info/authorize
|
||||
Client ID: ... (generated by github)
|
||||
Client Secret: ... (generated by github)
|
||||
```
|
||||
@ -43,7 +43,7 @@ REMOTE_CONFIG=https://github.com?client_id=...&client_secret=...
|
||||
```
|
||||
server {
|
||||
listen 80;
|
||||
server_name drone.datageek.info;
|
||||
server_name drone.easypi.info;
|
||||
location / {
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
@ -70,9 +70,9 @@ $ docker-compose up -d
|
||||
$ docker-compose logs
|
||||
|
||||
# client
|
||||
$ firefox http://drone.datageek.info/settings/profile
|
||||
$ firefox http://drone.easypi.info/settings/profile
|
||||
$ curl http://downloads.drone.io/drone-cli/drone_darwin_amd64.tar.gz | tar zx -C /usr/local/bin/
|
||||
$ export DRONE_SERVER=http://drone.datageek.info/
|
||||
$ export DRONE_SERVER=http://drone.easypi.info/
|
||||
$ export DRONE_TOKEN=...
|
||||
$ drone help
|
||||
```
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN apk add -U ferm && rm -rf /var/cache/apk/*
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN apk add -U ffmpeg
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <norelpy@datageek.info>
|
||||
MAINTAINER kev <norelpy@easypi.info>
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add -U build-base \
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM debian:jessie
|
||||
MAINTAINER kev<noreply@datageek.info>
|
||||
MAINTAINER kev<noreply@easypi.info>
|
||||
|
||||
ENV FTE_VER 0.2.18
|
||||
ENV FTE_SYS linux
|
||||
|
@ -17,7 +17,7 @@ ghost:
|
||||
$ docker-compose up -d
|
||||
$ docker exec -it ghost_ghost_1 bash
|
||||
>>> cd /var/lib/ghost/
|
||||
>>> sed -i 's/localhost:2368/blog.datageek.info/' config.js
|
||||
>>> sed -i 's/localhost:2368/blog.easypi.info/' config.js
|
||||
>>> sed -i '/google/d' themes/casper/default.hbs
|
||||
>>> exit
|
||||
$ docker-compose restart
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM debian:jessie
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
ENV GRAFANA_VERSION=2.6.0
|
||||
ENV GRAFANA_FILE=grafana_${GRAFANA_VERSION}_amd64.deb
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
ENV H2O_VER 1.7.1
|
||||
ENV H2O_URL https://github.com/h2o/h2o/archive/v${H2O_VER}.tar.gz
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM vimagick/alpine-arm
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
ENV H2O_VER 1.7.1
|
||||
ENV H2O_URL https://github.com/h2o/h2o/archive/v${H2O_VER}.tar.gz
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM vimagick/python:3
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN pip install gunicorn httpbin
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM node:slim
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
ENV HUBOT_NAME=hubot
|
||||
ENV HUBOT_ADAPTER=slack
|
||||
|
@ -23,7 +23,7 @@ hugo:
|
||||
command: >
|
||||
server --bind=0.0.0.0
|
||||
--port=80
|
||||
--baseUrl=http://blog.datageek.info/
|
||||
--baseUrl=http://blog.easypi.info/
|
||||
--theme=hyde
|
||||
--watch
|
||||
ports:
|
||||
@ -59,6 +59,6 @@ $ hugo
|
||||
|
||||
> The last `hugo` command will use `baseurl` in `config.toml`.
|
||||
|
||||
Open <http://blog.datageek.info/> in your browser!
|
||||
Open <http://blog.easypi.info/> in your browser!
|
||||
|
||||
[1]: http://gohugo.io/
|
||||
|
@ -23,7 +23,7 @@ hugo:
|
||||
command: >
|
||||
server --bind=0.0.0.0
|
||||
--port=80
|
||||
--baseUrl=http://blog.datageek.info/
|
||||
--baseUrl=http://blog.easypi.info/
|
||||
--theme=hyde
|
||||
--watch
|
||||
ports:
|
||||
@ -58,6 +58,6 @@ $ hugo
|
||||
|
||||
> The last `hugo` command will use `baseurl` in `config.toml`.
|
||||
|
||||
Open <http://blog.datageek.info/> in your browser!
|
||||
Open <http://blog.easypi.info/> in your browser!
|
||||
|
||||
[1]: http://gohugo.io/
|
||||
|
@ -3,7 +3,7 @@ hugo:
|
||||
command: >
|
||||
server --bind=0.0.0.0
|
||||
--port=80
|
||||
--baseUrl=http://blog.datageek.info/
|
||||
--baseUrl=http://blog.easypi.info/
|
||||
--watch
|
||||
ports:
|
||||
- "80:80"
|
||||
|
@ -3,7 +3,7 @@ hugo:
|
||||
command: >
|
||||
server --bind=0.0.0.0
|
||||
--port=80
|
||||
--baseUrl=http://blog.datageek.info/
|
||||
--baseUrl=http://blog.easypi.info/
|
||||
--watch
|
||||
ports:
|
||||
- "80:80"
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN apk add -U apr-dev \
|
||||
apr-util-dev \
|
||||
|
@ -32,9 +32,9 @@ $ docker run --rm -it -v `pwd`:/work vimagick/hydra
|
||||
>>> hydra -l admin -P passwd.txt -o hacked.txt http://www.target.com/login.php
|
||||
[DATA] max 1 task per 1 server, overall 64 tasks, 3 login try (l:1/p:1), ~0 tries per task
|
||||
[DATA] attacking service http-get on port 2812
|
||||
[2812][http-get] host: ss.datageek.info login: admin password: admin
|
||||
[2812][http-get] host: ss.easypi.info login: admin password: admin
|
||||
1 of 1 target successfully completed, 1 valid password found
|
||||
|
||||
>>> cat hacked.txt
|
||||
[2812][http-get] host: ss.datageek.info login: admin password: admin
|
||||
[2812][http-get] host: ss.easypi.info login: admin password: admin
|
||||
```
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM debian:jessie
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
ENV INFLUXDB_VERSION=0.12.0
|
||||
ENV INFLUXDB_FILE=influxdb_${INFLUXDB_VERSION}-1_amd64.deb
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN apk add -U iproute2
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
ENV JENKINS_HOME /var/jenkins_home
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM vimagick/alpine-arm
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
ENV JENKINS_HOME /var/jenkins_home
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM php:5.6-apache
|
||||
MAINTAINER kev<noreply@datageek.info>
|
||||
MAINTAINER kev<noreply@easypi.info>
|
||||
|
||||
RUN apt-get update && apt-get install -y curl unzip bzip2 libpq-dev libpng12-dev libjpeg-dev \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
|
@ -7,7 +7,7 @@
|
||||
#
|
||||
|
||||
FROM alpine:edge
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN echo 'http://dl-4.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories \
|
||||
&& apk add -U libreswan xl2tpd ppp \
|
||||
|
@ -26,13 +26,13 @@ $ systemctl stop nginx
|
||||
|
||||
# generate keys
|
||||
$ docker-compose run --rm --service-ports letsencrypt
|
||||
>>> email: admin@datageek.info
|
||||
>>> domains: datageek.info,bbs.datageek.info,blog.datageek.info,wiki.datageek.info
|
||||
>>> email: admin@easypi.info
|
||||
>>> domains: easypi.info,bbs.easypi.info,blog.easypi.info,wiki.easypi.info
|
||||
|
||||
# copy keys
|
||||
$ mkdir -p /etc/nginx/ssl/
|
||||
$ cp ./etc/letsencrypt/live/datageek.info/fullchain.pem /etc/nginx/ssl/datageek.info.crt
|
||||
$ cp ./etc/letsencrypt/live/datageek.info/privkey.pem /etc/nginx/ssl/datageek.info.key
|
||||
$ cp ./etc/letsencrypt/live/easypi.info/fullchain.pem /etc/nginx/ssl/easypi.info.crt
|
||||
$ cp ./etc/letsencrypt/live/easypi.info/privkey.pem /etc/nginx/ssl/easypi.info.key
|
||||
|
||||
# reconfig nginx
|
||||
$ vi /etc/nginx/sites-enabled/default
|
||||
@ -44,9 +44,9 @@ server {
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name datageek.info blog.datageek.info;
|
||||
ssl_certificate ssl/datageek.info.crt;
|
||||
ssl_certificate_key ssl/datageek.info.key;
|
||||
server_name easypi.info blog.easypi.info;
|
||||
ssl_certificate ssl/easypi.info.crt;
|
||||
ssl_certificate_key ssl/easypi.info.key;
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8000;
|
||||
}
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM php:5.6-apache
|
||||
MAINTAINER kev<noreply@datageek.info>
|
||||
MAINTAINER kev<noreply@easypi.info>
|
||||
|
||||
RUN a2enmod rewrite
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM php:5.6-apache
|
||||
MAINTAINER kev<noreply@datageek.info>
|
||||
MAINTAINER kev<noreply@easypi.info>
|
||||
|
||||
RUN a2enmod rewrite
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreplay@datageek.info>
|
||||
MAINTAINER kev <noreplay@easypi.info>
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add -U bash \
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN apk add -U monit \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
check system ss.datageek.info
|
||||
check system ss.easypi.info
|
||||
if loadavg (1min) > 4 then alert
|
||||
if loadavg (5min) > 2 then alert
|
||||
if memory usage > 80% then alert
|
||||
|
@ -5,7 +5,7 @@
|
||||
#
|
||||
|
||||
FROM php:5.6-apache
|
||||
MAINTAINER kev<noreply@datageek.info>
|
||||
MAINTAINER kev<noreply@easypi.info>
|
||||
|
||||
RUN a2enmod rewrite
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN set -x \
|
||||
&& apk add -U mosquitto \
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
WORKDIR /var/www/html
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add -U nginx \
|
||||
|
@ -88,7 +88,7 @@ server {
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name blog.foobar.site blog.datageek.info;
|
||||
server_name blog.foobar.site blog.easypi.info;
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:6109;
|
||||
}
|
||||
@ -96,7 +96,7 @@ server {
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name wiki.foobar.site wiki.datageek.info;
|
||||
server_name wiki.foobar.site wiki.easypi.info;
|
||||
location / {
|
||||
auth_basic restricted;
|
||||
auth_basic_user_file /etc/nginx/htpasswd;
|
||||
@ -106,7 +106,7 @@ server {
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name iot.foobar.site iot.datageek.info;
|
||||
server_name iot.foobar.site iot.easypi.info;
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:1880;
|
||||
proxy_http_version 1.1;
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM debian:jessie
|
||||
MAINTAINER kev <noreplay@datageek.info>
|
||||
MAINTAINER kev <noreplay@easypi.info>
|
||||
|
||||
ENV NGROK_GIT https://github.com/inconshreveable/ngrok.git
|
||||
ENV NGROK_BASE_DOMAIN ngrok.foobar.site
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add -U bash \
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM vimagick/alpine-arm
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add -U bash \
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
ENV BB_VER 1.0.3
|
||||
ENV BB_URL https://github.com/NodeBB/NodeBB/archive/v$BB_VER.tar.gz
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM debian
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
ENV BB_VER 1.0.3
|
||||
ENV BB_URL https://github.com/NodeBB/NodeBB/archive/v$BB_VER.tar.gz
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
ENV NM_VER 2.0
|
||||
ENV NM_URL https://github.com/bruceg/nullmailer/archive/$NM_VER.tar.gz
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM debian:jessie
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM debian:jessie
|
||||
MAINTAINER kev<noreply@datageek.info>
|
||||
MAINTAINER kev<noreply@easypi.info>
|
||||
|
||||
RUN set -xe \
|
||||
&& apt-get update \
|
||||
|
@ -75,7 +75,7 @@ obfsproxy:
|
||||
- "1194:1194/tcp"
|
||||
environment:
|
||||
- PASSWORD=J23TNHPJPAOQJLTCPLFD4CQYVFY6MEVP
|
||||
- DEST_ADDR=vpn.datageek.info
|
||||
- DEST_ADDR=vpn.easypi.info
|
||||
- DEST_PORT=4911
|
||||
- RUN_MODE=client
|
||||
- LISTEN_ADDR=0.0.0.0
|
||||
|
@ -18,7 +18,7 @@ client:
|
||||
- "1194:1194/tcp"
|
||||
environment:
|
||||
- PASSWORD=J23TNHPJPAOQJLTCPLFD4CQYVFY6MEVP
|
||||
- DEST_ADDR=vpn.datageek.info
|
||||
- DEST_ADDR=vpn.easypi.info
|
||||
- DEST_PORT=4911
|
||||
- RUN_MODE=client
|
||||
- LISTEN_ADDR=0.0.0.0
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM php:5.6-apache
|
||||
MAINTAINER kev<noreply@datageek.info>
|
||||
MAINTAINER kev<noreply@easypi.info>
|
||||
|
||||
RUN a2enmod rewrite
|
||||
|
||||
|
@ -5,8 +5,8 @@ openvpn
|
||||
|
||||
OpenVPN is blocked in China. You need to connect vpn via secure tunnel.
|
||||
|
||||
- server: vpn.datageek.info
|
||||
- bridge: bridge.datageek.info
|
||||
- server: vpn.easypi.info
|
||||
- bridge: bridge.easypi.info
|
||||
- client: localhost
|
||||
|
||||
## docker-compose.yml (server)
|
||||
@ -52,7 +52,7 @@ fteproxy:
|
||||
- "1194:1194"
|
||||
environment:
|
||||
- "MODE=client"
|
||||
- "SERVER_IP=vpn.datageek.info"
|
||||
- "SERVER_IP=vpn.easypi.info"
|
||||
- "SERVER_PORT=4911"
|
||||
- "CLIENT_IP=0.0.0.0"
|
||||
- "CLIENT_PORT=1194"
|
||||
@ -87,7 +87,7 @@ $ fig up -d
|
||||
```
|
||||
$ cat /etc/openvpn/client.conf
|
||||
...
|
||||
remote bridge.datageek.info 1194 tcp
|
||||
remote bridge.easypi.info 1194 tcp
|
||||
route 192.168.1.0 255.255.255.0 net_gateway
|
||||
...
|
||||
$ systemctl start openvpn@client
|
||||
|
@ -38,7 +38,7 @@ fteproxy:
|
||||
# - "1194:1194"
|
||||
# environment:
|
||||
# - "MODE=client"
|
||||
# - "SERVER_IP=vpn.datageek.info"
|
||||
# - "SERVER_IP=vpn.easypi.info"
|
||||
# - "SERVER_PORT=4911"
|
||||
# - "CLIENT_IP=0.0.0.0"
|
||||
# - "CLIENT_PORT=1194"
|
||||
|
@ -7,7 +7,7 @@ OVPN_DIR=./ovpn
|
||||
OVPN_IMG=vimagick/openvpn
|
||||
OVPN_DATA=openvpn_data_1
|
||||
OVPN_BACKUP=openvpn.tgz
|
||||
OVPN_SERVER=tcp://vpn.datageek.info
|
||||
OVPN_SERVER=tcp://vpn.easypi.info
|
||||
|
||||
mkdir -p $OVPN_DIR
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN apk add -U pdnsd \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM ubuntu:14.04
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN set -xe \
|
||||
&& apt-get update \
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM php:5.6-apache
|
||||
MAINTAINER kev<noreply@datageek.info>
|
||||
MAINTAINER kev<noreply@easypi.info>
|
||||
|
||||
RUN apt-get update && apt-get install -y curl unzip bzip2 libpq-dev libpng12-dev libjpeg-dev \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM php:5.6-apache
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN set -xe \
|
||||
&& apt-get update \
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN apk add -U build-base openssl \
|
||||
&& wget https://github.com/jech/polipo/archive/master.zip -O polipo.zip \
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev<noreply@datageek.info>
|
||||
MAINTAINER kev<noreply@easypi.info>
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add -U iptables \
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM debian:jessie
|
||||
MAINTAINER kev<noreply@datageek.info>
|
||||
MAINTAINER kev<noreply@easypi.info>
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y iptables pptpd \
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
ADD https://github.com/tianon/gosu/releases/download/1.4/gosu-amd64 /usr/sbin/gosu
|
||||
|
||||
|
@ -44,7 +44,7 @@ file: user.action
|
||||
{+block}
|
||||
127.0.0.1
|
||||
104.156.239.190
|
||||
.datageek.info
|
||||
.easypi.info
|
||||
|
||||
```
|
||||
|
||||
|
@ -4,5 +4,5 @@
|
||||
{+block}
|
||||
127.0.0.1
|
||||
104.156.239.190
|
||||
.datageek.info
|
||||
.easypi.info
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM ubuntu:14.04
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y build-essential pdnsd haproxy polipo nginx python
|
||||
|
@ -4,9 +4,9 @@
|
||||
# sstest - shadowsocks tester
|
||||
#
|
||||
# # Long Form
|
||||
# sstest ss://aes-256-cfb:secret@datageek.info:8388
|
||||
# sstest ss://aes-256-cfb:secret@easypi.info:8388
|
||||
# # Short Form
|
||||
# sstest password@datageek.info
|
||||
# sstest password@easypi.info
|
||||
# # Hash Form
|
||||
# sstest c3M6Ly9hZXMtMjU2LWNmYjpzZWNyZXRAZGF0YWdlZWsuaW5mbzo4Mzg4
|
||||
# # File Form
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM debian:jessie
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN set -xe \
|
||||
&& apt-get update \
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN apk add -U curl python \
|
||||
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python \
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN apk add -U curl python3 \
|
||||
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python3 \
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM vimagick/alpine-arm
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN set -ex \
|
||||
&& apk add -U redis \
|
||||
|
@ -1,7 +1,7 @@
|
||||
registrator:
|
||||
image: gliderlabs/registrator
|
||||
command: etcd://127.0.0.1:2379/services
|
||||
hostname: datageek.info
|
||||
hostname: easypi.info
|
||||
volumes:
|
||||
- /var/run/docker.sock:/tmp/docker.sock
|
||||
net: host
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
WORKDIR /var/www/html
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN apk add -U rsync \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
@ -38,11 +38,11 @@ server:
|
||||
|
||||
client:
|
||||
image: vimagick/rtmp-client-arm
|
||||
# command: ffmpeg -i /dev/video0 -vf "hflip,vflip" -f flv rtmp://cctv.datageek.info/live/webcam
|
||||
# command: ffmpeg -i /dev/video0 -vf "hflip,vflip" -f flv rtmp://cctv.easypi.info/live/webcam
|
||||
devices:
|
||||
- /dev/video0:/dev/video0
|
||||
environment:
|
||||
- RTMP_URI=rtmp://datageek.info/live/webcam
|
||||
- RTMP_URI=rtmp://easypi.info/live/webcam
|
||||
restart: always
|
||||
```
|
||||
|
||||
@ -60,26 +60,26 @@ $ youtube-dl 'https://www.youtube.com/watch?v=lJZlz-WnXzU' -o data/video.mp4
|
||||
|
||||
```
|
||||
# play remote video (remote -> local)
|
||||
$ vlc rtmp://datageek.info/vod/video.mp4
|
||||
$ vlc rtmp://easypi.info/vod/video.mp4
|
||||
|
||||
# play local video (local -> remote -> local)
|
||||
$ ffmpeg -re -i video.mp4 -f flv rtmp://datageek.info/live/video
|
||||
$ vlc rtmp://datageek.info/live/video.mp4
|
||||
$ ffmpeg -re -i video.mp4 -f flv rtmp://easypi.info/live/video
|
||||
$ vlc rtmp://easypi.info/live/video.mp4
|
||||
|
||||
# capture desktop (local -> remote)
|
||||
$ ffmpeg -f avfoundation -pixel_format bgr0 -i 1:0 -f flv rtmp://datageek.info/live/webcam
|
||||
$ ffmpeg -f avfoundation -pixel_format bgr0 -i 1:0 -f flv rtmp://easypi.info/live/webcam
|
||||
|
||||
# record webcam (local -> remote)
|
||||
$ ffmpeg -f qtkit -i 0 -f flv rtmp://datageek.info/live/webcam
|
||||
$ ffmpeg -f qtkit -i 0 -f flv rtmp://easypi.info/live/webcam
|
||||
|
||||
# record pi camera (pi -> remote)
|
||||
$ ffmpeg -f video4linux2 -r 24 -i /dev/video0 -f flv rtmp://datageek.info/live/webcam
|
||||
$ ffmpeg -f video4linux2 -r 24 -i /dev/video0 -f flv rtmp://easypi.info/live/webcam
|
||||
|
||||
# record pi camera (pi -> remote)
|
||||
$ /opt/vc/bin/raspivid -o - -t 0 -hf -w 640 -h 360 -fps 25 | ffmpeg -i - -f flv rtmp://datageek.info/live/webcam
|
||||
$ /opt/vc/bin/raspivid -o - -t 0 -hf -w 640 -h 360 -fps 25 | ffmpeg -i - -f flv rtmp://easypi.info/live/webcam
|
||||
|
||||
# watch webcam (remote -> local)
|
||||
$ vlc rtmp://datageek.info/live/webcam
|
||||
$ vlc rtmp://easypi.info/live/webcam
|
||||
```
|
||||
|
||||
Optinally, you can run a docker container as RTMP client on raspberry pi.
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM vimagick/alpine-arm
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add -U ffmpeg \
|
||||
|
@ -4,6 +4,6 @@ client:
|
||||
- /dev/video0:/dev/video0
|
||||
environment:
|
||||
# - RTMP_DEV=rtsp://192.168.42.1/live
|
||||
- RTMP_URI=rtmp://cctv.datageek.info/live/webcam
|
||||
- RTMP_URI=rtmp://cctv.easypi.info/live/webcam
|
||||
# net: host
|
||||
restart: always
|
||||
|
@ -20,7 +20,7 @@
|
||||
<script>
|
||||
var playerInstance = jwplayer("player");
|
||||
playerInstance.setup({
|
||||
file: "rtmp://boss.datageek.info/live/webcam",
|
||||
file: "rtmp://boss.easypi.info/live/webcam",
|
||||
image: "img/cctv.jpg",
|
||||
height: 360,
|
||||
width: 640
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM debian:jessie
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y curl jq vim-tiny \
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add -U samba-common-tools samba-server \
|
||||
|
@ -16,6 +16,7 @@ passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *
|
||||
pam password change = yes
|
||||
map to guest = bad user
|
||||
usershare allow guests = yes
|
||||
printcap name = /dev/null
|
||||
load printers = no
|
||||
|
||||
[homes]
|
||||
@ -29,3 +30,4 @@ browseable = yes
|
||||
read only = no
|
||||
guest ok = yes
|
||||
admin users = root
|
||||
root preexec = mkdir -p /share
|
||||
|
@ -5,6 +5,8 @@
|
||||
server role = standalone
|
||||
map to guest = Bad User
|
||||
usershare allow guests = yes
|
||||
printcap name = /dev/null
|
||||
load printers = no
|
||||
|
||||
[homes]
|
||||
comment = Home Directories
|
||||
@ -18,3 +20,4 @@
|
||||
writable = yes
|
||||
guest ok = yes
|
||||
admin users = root
|
||||
root preexec = mkdir -p /share
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM debian:jessie
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y autoconf \
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM vimagick/scrapyd
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
ONBUILD ADD ./*.txt /etc/scrapyd/
|
||||
ONBUILD RUN cd /etc/scrapyd; \
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN set -ex \
|
||||
&& echo 'http://nl.alpinelinux.org/alpine/edge/main' >> /etc/apk/repositories \
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user