Este commit está contenido en:
Your Name
2020-05-28 10:36:19 +00:00
padre e103445d65
commit b31754982d
Se han modificado 3 ficheros con 80 adiciones y 0 borrados

Ver fichero

@@ -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

Ver fichero

@@ -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

Ver fichero

@@ -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
}