Comment on Nextcloud alternatives
giddy@aussie.zone 1 year ago
I seriously suggest you give Nextcloud another go, this time under Docker. Very simple to do.
Save the following in a new folder as docker-compose.yml
version: '3' volumes: db: services: nextcloud-app: image: nextcloud container_name: nextcloud-app restart: always volumes: - ./data:/var/www/html environment: - MYSQL_PASSWORD=changeme - MYSQL_DATABASE=nextcloud - MYSQL_USER=nextcloud - MYSQL_HOST=nextcloud-db ports: - "80:80" links: - nextcloud-db nextcloud-db: image: mariadb container_name: nextcloud-db restart: always command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW volumes: - db:/var/lib/mysql environment: - MYSQL_ROOT_PASSWORD=changeme - MYSQL_PASSWORD=changeme - MYSQL_DATABASE=nextcloud - MYSQL_USER=nextcloud
run this command in the folder -
docker-compose up -d
open localhost
iHUNTcriminals@lemm.ee 1 year ago
Is the mariadb a default part of nextcloud? I’ve seen posts saying to use a separate db so things can be backed up easier, so I was wondering if that’s how you have it set up above.
scorpionix@feddit.de 1 year ago
In this setup the DB is not part of Nextcloud. Both are running in separate services aka containers, which can be administrated independently from each other.
giddy@aussie.zone 1 year ago
No you can use other databases. It is separate here