Docker-compose, redis, collabora server

Hello together

Does anyone have experience with docker-compose Redis and collabora online server. Currently I have a Nextcloud server which is installed natively on the system. Friends have recommended me to make this virtual. Can anyone help me with this?

I am looking forward to your answer :blue_heart:

Before running ahead: friends who know that for a better solution, may be the best people to ask for help.

They know your situation and your use case, and you may trust them enough to let them log into your system to make the necessary changes (or you could do it together while sipping a beer, or something)

Without asking for a masterclass hosting solutions, do you have an idea what they mean by “make this virtual”, and for which benefits?

2 Likes

wbk is completely right… use search and you will find answers yourself! but nevertheless Nextcloud docker-compose setup with notify_push (2024) is good start.

Please read and understand 101: Self-hosting information for beginners

I use following compose file:

services:
  nextcloud:
    image: lscr.io/linuxserver/nextcloud:latest
    container_name: nextcloud
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
    volumes:
      - ./appdata:/config
      - ./data:/data
    ports:
      - 127.0.0.1:8080:80
    networks:
      - default
    restart: unless-stopped
    depends_on:
      - db
      - elasticsearch
    links:
      - redis


  db:
    image: linuxserver/mariadb:latest
    container_name: nextcloud_db
    environment:
      - PUID=1000
      - PGID=1000
      - MYSQL_ROOT_PASSWORD=rootpassword
      - TZ=Etc/UTC
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud
      - MYSQL_PASSWORD=mysqlpassword
    volumes:
      - ./appdata_db:/config
    networks:
      - default
    restart: unless-stopped

  redis:
    image: redis:alpine
    restart: always
    networks:
      - default
    command: redis-server --requirepass password


  collabora:
    image: collabora/code
    container_name: collabora
    hostname: collabora
    ports:
      - 127.0.0.1:9980:9980
    environment:
      - domain=sub\.domain\.com
      - username=username
      - password=password

    volumes:
      - ./collabora:/config
    # env_file: code.env
    cap_add:
     - MKNOD
    depends_on:
      - nextcloud
    restart: unless-stopped


  elasticsearch:
    image: docker.elastic.co/elasticsearch/elasticsearch:8.14.1
    networks:
      - default
    ports:
      - 127.0.0.1:9200:9200
    restart: always
    environment:
      - discovery.type=single-node
      - bootstrap.memory_lock=true
      - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
      - xpack.security.enabled=false
    user: 1000:1000
    ulimits:
      memlock:
        soft: -1
        hard: -1
    volumes:
      - elasticsearch:/usr/share/elasticsearch/data

volumes:
    elasticsearch:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.