rocketchat
Este commit está contenido en:
19
production/rocket/rocketchat/Dockerfile
Archivo normal
19
production/rocket/rocketchat/Dockerfile
Archivo normal
@@ -0,0 +1,19 @@
|
||||
FROM node:12-slim
|
||||
ENV VERSION latest
|
||||
RUN apt update && apt -y upgrade && apt -y install \
|
||||
build-essential \
|
||||
curl \
|
||||
wget \
|
||||
rsync \
|
||||
git \
|
||||
xz-utils \
|
||||
ca-certificates \
|
||||
procps \
|
||||
python \
|
||||
&& apt clean
|
||||
WORKDIR /home/node
|
||||
USER node
|
||||
RUN wget -q https://releases.rocket.chat/$VERSION/download && tar -zxf download && rm download
|
||||
WORKDIR /home/node/bundle/programs/server
|
||||
RUN npm install && mkdir /home/node/uploads
|
||||
WORKDIR /home/node/bundle
|
||||
11
production/rocket/rocketchat/entrypoint.sh
Archivo normal
11
production/rocket/rocketchat/entrypoint.sh
Archivo normal
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
export ROOT_URL="https://talk.hatthieves.es"
|
||||
export PORT=3000
|
||||
export MAIL_URL="smtp.hatthieves.es"
|
||||
export Accounts_UseDNSDomainCheck="False"
|
||||
export NODE_ENV="production"
|
||||
export Accounts_AvatarStorePath="/home/rocketchat/uploads"
|
||||
export MONGO_URL="mongodb://rocket:p4%24%24w0rd@db-rocketchat1:27017,db-rocketchat2:27017/rocketchat?authSource=admin&replicaSet=rs0&readPreference=nearest&w=majority"
|
||||
export MONGO_OPLOG_URL="mongodb://oploguser:p4%24%24w0rd@db-rocketchat1:27017,db-rocketchat2:27017/local?authSource=admin&replicaSet=rs0"
|
||||
export INSTANCE_IP="172.133.0.101"
|
||||
node main.js
|
||||
Referencia en una nueva incidencia
Block a user