Instructions about how to setup a Rocket.Chat server including a HTTPS reverse proxy with docker-compose.
mongo:
image: mongo| @Bean | |
| KTable reportStream(StreamsBuilder builder, Engine engine) { | |
| def stream = builder.stream(topic) | |
| .groupBy({ key, word -> word }) | |
| .windowedBy(SessionWindows.with(TimeUnit.SECONDS.toMillis(1))) | |
| .aggregate( | |
| new Initializer<Long>() { | |
| @Override | |
| Long apply() { |
| apt-get install software-properties-common | |
| apt-add-repository ppa:ansible/ansible | |
| apt-get update | |
| apt-get install ansible |
| --- | |
| - hosts: | |
| - all | |
| become: true | |
| tasks: | |
| - name: Update apt cache | |
| apt: update_cache=yes | |
| - name: Upgrade packages | |
| apt: upgrade=dist |
| #!/bin/bash | |
| compose_file_path=$1 | |
| project_name=$2 | |
| backup_path=$3 | |
| function backup_volume { | |
| volume_name=$1 | |
| backup_destination=$2 |
| #!/bin/bash | |
| if [ "$(id -u)" != "0" ]; then | |
| echo "This script must be run as root" 1>&2 | |
| exit 1 | |
| fi | |
| ubuntuVersion=`lsb_release -sr` | |
| case "$ubuntuVersion" in |
Instructions about how to setup a Rocket.Chat server including a HTTPS reverse proxy with docker-compose.
mongo:
image: mongo