- Uses a separate disk/partition for Docker related data
- Make use of Docker's BTRFS support
- Installs according to the official guide
# Identify the Disk
#!/bin/bash | |
apt update | |
apt install make | |
curl https://digint.ch/download/btrbk/releases/btrbk-0.27.1.tar.xz -o /tmp/btrbk.tar.xz | |
tar xf /tmp/btrbk.tar.xz -C /tmp | |
make install -C /tmp/btrbk-0.27.1/ | |
rm -r /tmp/btrbk* |
# Identify the Disk
version: '3' | |
services: | |
confluence: | |
image: atlassian/confluence-server:6.11 | |
restart: always | |
expose: | |
- 8090 | |
volumes: | |
- ./confluence/:/var/atlassian/application-data/confluence |
Rancher's container-crontab acts as a crontab for other containers.
version: '3'
services:
map $http_accept_language $lang { | |
default en; | |
~*^de de; | |
~*^en en; | |
} | |
server { | |
listen 80; | |
listen [::]:80; | |
server_name example.com; |
version: '3' | |
services: | |
wordpress: | |
image: wordpress:php7.1-apache | |
container_name: example.com | |
restart: always | |
volumes: | |
- ./wp-content/:/var/www/html/wp-content | |
environment: |