comment out (old) rocketchat service under /rocketchat

This commit is contained in:
ralf 2024-05-02 14:48:34 +02:00
parent 3be8edc44a
commit 94d14ee851
2 changed files with 46 additions and 46 deletions

View File

@ -140,7 +140,7 @@ services:
- egroupware - egroupware
- push - push
- collabora-key - collabora-key
- rocketchat #- rocketchat
container_name: egroupware-nginx container_name: egroupware-nginx
restart: always restart: always
@ -226,49 +226,49 @@ services:
- $PWD/data/default/loolwsd:/tmp/coolwsd - $PWD/data/default/loolwsd:/tmp/coolwsd
# Rocket.Chat server # Rocket.Chat server
rocketchat: #rocketchat:
image: quay.io/egroupware/rocket.chat:latest # image: quay.io/egroupware/rocket.chat:latest
command: bash -c 'for i in `seq 1 30`; do node main.js && s=$$? && break || s=$$?; echo "Tried $$i times. Waiting 5 secs..."; sleep 5; done; (exit $$s)' # command: bash -c 'for i in `seq 1 30`; do node main.js && s=$$? && break || s=$$?; echo "Tried $$i times. Waiting 5 secs..."; sleep 5; done; (exit $$s)'
restart: unless-stopped # restart: unless-stopped
volumes: # volumes:
- $PWD/data/default/rocketchat/uploads:/app/uploads # - $PWD/data/default/rocketchat/uploads:/app/uploads
# if EGroupware uses a certificate from a private CA, OAuth authentication will fail, you need to: # # if EGroupware uses a certificate from a private CA, OAuth authentication will fail, you need to:
# - have the CA certificate stored at /etc/egroupware-docker/private-ca.crt # # - have the CA certificate stored at /etc/egroupware-docker/private-ca.crt
# - uncomment the next 2 lines about the private CA: # # - uncomment the next 2 lines about the private CA:
# - /etc/egroupware-docker/private-ca.crt:/usr/local/share/ca-certificates/private-ca.crt:ro # # - /etc/egroupware-docker/private-ca.crt:/usr/local/share/ca-certificates/private-ca.crt:ro
environment: # environment:
# - NODE_EXTRA_CA_CERTS=/usr/local/share/ca-certificates/private-ca.crt # # - NODE_EXTRA_CA_CERTS=/usr/local/share/ca-certificates/private-ca.crt
# IMPORTANT: change ROOT_URL to your actual url eg. https://domain.com/rocketchat # # IMPORTANT: change ROOT_URL to your actual url eg. https://domain.com/rocketchat
- ROOT_URL=http://localhost/rocketchat # - ROOT_URL=http://localhost/rocketchat
- PORT=3000 # - PORT=3000
- MONGO_URL=mongodb://mongo:27017/rocketchat # - MONGO_URL=mongodb://mongo:27017/rocketchat
- MONGO_OPLOG_URL=mongodb://mongo:27017/local # - MONGO_OPLOG_URL=mongodb://mongo:27017/local
# - HTTP_PROXY=http://proxy.domain.com # # - HTTP_PROXY=http://proxy.domain.com
# - HTTPS_PROXY=http://proxy.domain.com # # - HTTPS_PROXY=http://proxy.domain.com
depends_on: # depends_on:
- mongo # - mongo
container_name: rocketchat # container_name: rocketchat
# set the ip-address of your docker host AND your official DNS name so Rocket.Chat # # set the ip-address of your docker host AND your official DNS name so Rocket.Chat
# can access EGroupware without the need to go over your firewall # # can access EGroupware without the need to go over your firewall
#extra_hosts: # #extra_hosts:
#- "my.host.name:ip-address" # #- "my.host.name:ip-address"
# MongoDB for Rocket.Chat # MongoDB for Rocket.Chat
mongo: #mongo:
image: mongo:5.0 # image: mongo:5.0
restart: unless-stopped # restart: unless-stopped
volumes: # volumes:
- mongo:/data/db # - mongo:/data/db
- $PWD/data/default/rocketchat/dump:/dump # - $PWD/data/default/rocketchat/dump:/dump
command: mongod --oplogSize 128 --replSet rs0 # command: mongod --oplogSize 128 --replSet rs0
container_name: rocketchat-mongo # container_name: rocketchat-mongo
# this container's job is just run the command to initialize the replica set. # this container's job is just run the command to initialize the replica set.
# it will run the command and remove himself (it will not stay running) # it will run the command and remove himself (it will not stay running)
mongo-init-replica: #mongo-init-replica:
image: mongo:5.0 # image: mongo:5.0
command: 'bash -c "for i in `seq 1 30`; do mongo mongo/rocketchat --eval \"rs.initiate({ _id: ''rs0'', members: [ { _id: 0, host: ''localhost:27017'' } ]})\" && s=$$? && break || s=$$?; echo \"Tried $$i times. Waiting 5 secs...\"; sleep 5; done; (exit $$s)"' # command: 'bash -c "for i in `seq 1 30`; do mongo mongo/rocketchat --eval \"rs.initiate({ _id: ''rs0'', members: [ { _id: 0, host: ''localhost:27017'' } ]})\" && s=$$? && break || s=$$?; echo \"Tried $$i times. Waiting 5 secs...\"; sleep 5; done; (exit $$s)"'
depends_on: # depends_on:
- mongo # - mongo
# phpMyAdmin # phpMyAdmin
phpmyadmin: phpmyadmin:

View File

@ -163,12 +163,12 @@ server {
} }
# proxy into rocketchat container # proxy into rocketchat container
location /rocketchat { #location /rocketchat {
proxy_pass http://rocketchat:3000; # proxy_pass http://rocketchat:3000;
proxy_set_header Upgrade $http_upgrade; # proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade"; # proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host; # proxy_set_header Host $http_host;
} #}
# phpMyAdmin # phpMyAdmin
location ^~ /phpmyadmin/ { location ^~ /phpmyadmin/ {