Be Your Own Cloud code · PART 3 — THE STACK

Chapter 17 Extras Worth Running: Uptime Kuma, PrivateBin, and Others

3 blocks · pp. 75–76 in the paperback

Going further than the chapter: Uptime Kuma, PrivateBin and a Dashboard: Going Deeper

Uptime Kuma: Knowing Before You're Told

# p. 75

File /opt/stacks/uptime-kuma/docker-compose.yml
services:
  uptime-kuma:
    image: louislam/uptime-kuma:2.5.5
    container_name: uptime-kuma
    restart: unless-stopped
    volumes:
      - ./data:/app/data
    ports:
      - '3001:3001'

PrivateBin: Sharing a Secret Without a Third Party Seeing It

# p. 76

File /opt/stacks/privatebin/docker-compose.yml
services:
  privatebin:
    image: privatebin/nginx-fpm-alpine:2.0.6
    container_name: privatebin
    restart: unless-stopped
    volumes:
      - ./data:/srv/data
    ports:
      - '8280:8080'

# p. 76

Run Terminal, in /opt/stacks/privatebin — before the first start
mkdir -p data
sudo chown 65534:82 data

Reproduced exactly from Be Your Own Cloud, Chapter 17. The book explains what each line does and what to do when it doesn't work. About the book

Something here not working as the book describes? Tell the author.