summary: "Rocket Chat server" maintainer: "Valentin Lab " #docker-image: rocketchat/rocket.chat:3.14.0 docker-image: docker.0k.io/rocketchat:3.14.0 data-resources: - /app/uploads uses: mongo-database: #constraint: required | recommended | optional #auto: pair | summon | none ## default: pair constraint: required auto: summon solves: database: "main storage" web-proxy: #constraint: required | recommended | optional #auto: pair | summon | none ## default: pair constraint: recommended auto: pair solves: proxy: "Public access" default-options: target: !var-expand ${MASTER_BASE_SERVICE_NAME}:3000 apache-custom-rules: - !var-expand | ProxyPreserveHost On # Set web sockets RewriteEngine On RewriteCond %{REQUEST_URI} /(.*)/websocket [NC,OR] RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC,OR] RewriteCond %{HTTP:CONNECTION} ^Upgrade$ [NC] RewriteRule .* ws://${MASTER_BASE_SERVICE_NAME}:3000%{REQUEST_URI} [P,QSA,L] backup: constraint: recommended auto: pair solves: backup: "Automatic regular backup"