Be Your Own Cloud code · PART 3 — THE STACK

Chapter 12 Nextcloud: Files, Calendar, and Contacts

1 block · p. 55 in the paperback

Going further than the chapter: Nextcloud AIO: Going Deeper

Why AIO, Specifically

# p. 55

File /opt/stacks/nextcloud/docker-compose.yml
services:
  nextcloud-aio-mastercontainer:
    # the one deliberate :latest in this book -- see below
    image: ghcr.io/nextcloud-releases/all-in-one:latest
    container_name: nextcloud-aio-mastercontainer
    restart: unless-stopped
    ports:
      - '8080:8080'   # AIO's own setup wizard -- one-time use
    environment:
      # reverse-proxy mode: NPM forwards here
      - APACHE_PORT=11000
      - APACHE_IP_BINDING=0.0.0.0
      # files on bulk storage (Chapter 7)
      - NEXTCLOUD_DATADIR=/mnt/media/nextcloud-data
      # your subdomain is LAN-only -- see below
      - SKIP_DOMAIN_VALIDATION=true
    volumes:
      - nextcloud_aio_mastercontainer:/mnt/docker-aio-config
      - /var/run/docker.sock:/var/run/docker.sock:ro

volumes:
  nextcloud_aio_mastercontainer:
    name: nextcloud_aio_mastercontainer

Reproduced exactly from Be Your Own Cloud, Chapter 12. 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.