This is an old revision of the document!


WHITERUN

  1. Pull the latest version of the images of the containers: in Container Station under images click on the “pull” button in the upper right corner, indicate the image name and indicate the version you like or leave it as “latest” if appropriate, then click on pull. Wait for the background process to finish the download.
  2. Go to the “Applications” tab, select the Container, click on the “Edit” button dropdown, and select “Duplicate.”
  3. Click on “Create” without changing anything else. The containers for which the base images have changed will automatically be rebuilt.

Edit config

sudo nano /share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/volumes/nextcloud_nextcloud/_data/config/config.php

Docker compose file (E:\Developed\Docker\WHITERUN\Nextcloud.txt)

version: '2'

volumes:
  nextcloud:

networks:
  app-tier:
    driver: bridge

services:
  app_nextcloud:
    image: nextcloud
    container_name: nextcloud
    restart: unless-stopped
    networks:
      - app-tier
    ports:
      - 8082:80
    volumes:
      - nextcloud:/var/www/html
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Australia/Perth
      - MYSQL_PASSWORD=go.]3BUEzfICjhs(
      - MYSQL_DATABASE=nextcloud_whiterun
      - MYSQL_USER=nextcloud_whiterun
      - MYSQL_HOST=rpi64-wired

(Mostly) working config

<?php
$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'upgrade.disable-web' => true,
  'instanceid' => 'ocxseo1ca8zi',
  'passwordsalt' => '0FQOLHBsmIYjSnCwkKlEAe90HIgqH6',
  'secret' => 'pkZXebzcZoDT8XefCUfd8mMl7UDeQd2Ggu2qzj+E6m7aEQmT',
  'trusted_domains' => 
  array (
    0 => 'whiterun:8082',
    1 => 'nextcloud.phlaange.duckdns.org',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'mysql',
  'version' => '28.0.1.1',
  'overwrite.cli.url' => 'https://nextcloud.phlaange.duckdns.org',
  'overwriteprotocol' => 'https',
  'dbname' => 'nextcloud_whiterun',
  'dbhost' => 'rpi64-wired',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud_whiterun',
  'dbpassword' => 'go.]3BUEzfICjhs(',
  'installed' => true,
);
  • whiterun.1712473103.txt.gz
  • Last modified: 2024/04/07 14:58
  • by admin
  • Currently locked by: 172.18.0.1