sockethub
Este commit está contenido en:
38
development/sockethub/docker-compose.yml
Archivo normal
38
development/sockethub/docker-compose.yml
Archivo normal
@@ -0,0 +1,38 @@
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
sockethub:
|
||||
build: ./sockethub
|
||||
restart: always
|
||||
hostname: sockethub
|
||||
container_name: sockethub
|
||||
entrypoint:
|
||||
- bin/sockethub
|
||||
- --examples
|
||||
volumes:
|
||||
- ./sockethub/config.json:/sockethub/config.json:ro
|
||||
ports:
|
||||
- 10550:10550/tcp
|
||||
networks:
|
||||
mynet:
|
||||
ipv4_address: 172.130.0.101
|
||||
|
||||
redis:
|
||||
image: redis:alpine
|
||||
hostname: redis-sockethub
|
||||
container_name: redis-sockethub
|
||||
restart: always
|
||||
volumes:
|
||||
- ./redis:/data
|
||||
expose:
|
||||
- 6379
|
||||
networks:
|
||||
mynet:
|
||||
ipv4_address: 172.130.0.102
|
||||
|
||||
networks:
|
||||
mynet:
|
||||
driver: bridge
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 172.130.0.0/24
|
||||
5
development/sockethub/sockethub/Dockerfile
Archivo normal
5
development/sockethub/sockethub/Dockerfile
Archivo normal
@@ -0,0 +1,5 @@
|
||||
FROM node:8-slim
|
||||
RUN apt update && apt -y upgrade && apt -y install git && apt clean
|
||||
RUN git clone --depth=1 https://github.com/sockethub/sockethub /sockethub
|
||||
WORKDIR /sockethub
|
||||
RUN npm install
|
||||
37
development/sockethub/sockethub/config.json
Archivo normal
37
development/sockethub/sockethub/config.json
Archivo normal
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"activity-streams": {
|
||||
"opts": {
|
||||
"specialObjs": [ "credentials" ]
|
||||
}
|
||||
},
|
||||
"examples": {
|
||||
"enabled": false,
|
||||
"secret": 1234567890
|
||||
},
|
||||
"service": {
|
||||
"port": 10550,
|
||||
"host": "172.130.0.101",
|
||||
"path": "/sockethub"
|
||||
},
|
||||
"kue": {
|
||||
"enabled": true,
|
||||
"port": 10549,
|
||||
"host": "localhost"
|
||||
},
|
||||
"log_file": "",
|
||||
"platforms": {
|
||||
"whitelist": [],
|
||||
"blacklist": []
|
||||
},
|
||||
"public": {
|
||||
"protocol": "http",
|
||||
"host": "www.hatthieves.es",
|
||||
"port": 10550,
|
||||
"path": "/"
|
||||
},
|
||||
"redis": {
|
||||
"host": "172.130.0.102",
|
||||
"port": 6379
|
||||
},
|
||||
"workers": 1
|
||||
}
|
||||
Referencia en una nueva incidencia
Block a user