docker_notes:docker-nextcloud

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
docker_notes:docker-nextcloud [2024-04-27 Sat wk17 12:57] baumkpdocker_notes:docker-nextcloud [2024-04-27 Sat wk17 13:02] – [Nextcloud with supervisord] baumkp
Line 33: Line 33:
 ++++ ++++
  
-++++supervisord.conf+++++supervisord.conf|
 <code yaml>[supervisord] <code yaml>[supervisord]
 nodaemon=true nodaemon=true
Line 57: Line 57:
 command=/cron.sh</code> command=/cron.sh</code>
 ++++ ++++
 +++++docker-compose.yml|
 +<code yaml>---
 +services:
 +  app:
 +    build: ./
 +    image: nextcloud-fpm-cron:latest
 +#    image: nextcloud:fpm-alpine
 +    restart: always
 +    depends_on:
 +      - db
 +      - redis
 +    volumes:
 +      - /mnt/docker_store/nextcloud/data/html/data:/var/www/html/data
 +      - /mnt/docker_store/nextcloud/data/html/custom_apps:/var/www/html/custom_apps
 +      - /mnt/docker_store/nextcloud/data/html/config:/var/www/html/config
 +      - /mnt/docker_store/nextcloud/data/html/themes:/var/www/html/themes
 +    networks:
 +      - proxy
 +    environment:
 +      - MYSQL_PASSWORD=kpb1670
 +      - MYSQL_DATABASE=nextcloud
 +      - MYSQL_USER=nextcloud
 +      - MYSQL_HOST=db
 +      - REDIS_HOST=redis
  
 +  db:
 +    image: mariadb:11.3
 +    restart: always
 +    command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
 +    volumes:
 +      - /mnt/docker_store/nextcloud/data/db:/var/lib/mysql
 +    environment:
 +      - MYSQL_ROOT_PASSWORD=kpb8487
 +      - MYSQL_PASSWORD=kpb1670
 +      - MYSQL_DATABASE=nextcloud
 +      - MYSQL_USER=nextcloud
 +      - MARIADB_AUTO_UPGRADE=1
 +    networks:
 +      - proxy
 +
 +  redis:
 +    image: redis:alpine
 +    restart: always
 +    networks: 
 +      - proxy
 +
 +  web:
 +    image: nginx
 +    restart: always
 +    ports:
 +      - 8180:80
 +    depends_on:
 +      - app
 +    volumes:
 +      - ./nginx.conf:/etc/nginx/nginx.conf:ro
 +    volumes_from:
 +      - app
 +    networks:
 +      - proxy
 + 
 +volumes:
 +  nextcloud:
 +  db:
 +
 +networks:
 +  proxy:
 +    external: true
 +</code>
 +++++
 ====RedirectRegex==== ====RedirectRegex====
 I get a redirect error in Nextcloud that I have not been able to track down to date.  Does not seem much info in this on the net, and the little there is also indicates a problem without and easy solution.  Nextcloud main support looks Apache web server based with little Nginx support and even less Traefik support. I get a redirect error in Nextcloud that I have not been able to track down to date.  Does not seem much info in this on the net, and the little there is also indicates a problem without and easy solution.  Nextcloud main support looks Apache web server based with little Nginx support and even less Traefik support.
  • /app/www/public/data/pages/docker_notes/docker-nextcloud.txt
  • Last modified: 2024-04-28 Sun wk17 14:58
  • by baumkp