Skip to content

nextcloud

Below are the configuration files for this service. For details on how to deploy or customize, refer to the README above or the official documentation for the service.

Docker Compose Configuration

services:
  nextcloud-aio-mastercontainer:
    image: ghcr.io/nextcloud-releases/all-in-one:latest
    container_name: nextcloud-aio-mastercontainer
    restart: always
    ports:
      - "${AIO_PORT}:8080"
    volumes:
      - nextcloud_aio_mastercontainer:/mnt/docker-aio-config
      - /var/run/docker.sock:/var/run/docker.sock:ro
    environment:
      - APACHE_PORT=11000
      - NEXTCLOUD_DATADIR=${STORAGE_PATH}/nextcloud
      - APACHE_ADDITIONAL_NETWORK=web
    networks:
      - nextcloud-aio
      - web

volumes:
  nextcloud_aio_mastercontainer:

networks:
  nextcloud-aio:
  web:
    external: true



Environment Variables (.env.example)

# nextcloud/.env
# Copy to .env and fill in real values. NEVER commit .env.

AIO_PORT=8081