Hi all
I've tried to install nextcloud with serveral Docker copose files I found here and on the internet. I managed to install it without any problems, and even setup remote access via cloudflared tunnel using the attached compose file.
My goal is to turn part of my SMB share to a synced cloud storage, so I can access and work on some of my files remotely and have everything synced in real time.
The only problem I have is that no matter what I do, it totally disregards my path settings and installs it into the /var/www/html on the boot drive.
I know this can be done using syncthing but unfortunatly, so far I haven't been able to get it to work and, and I've finished runnig tests and installed my work machine as I don't really have time to continue tinkering with it.
This is my Docker Compose file.
version: "2"
services:
app:
depends_on:
- db
environment:
- MYSQL_PASSWORD=MyPass
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=db
image: nextcloud
links:
- db
ports:
- 8080:80
restart: always
volumes:
- /home/docker/nextcloud/nextcloud:/nextcloud
- /home/docker/nextcloud/apps:/custom_apps
- /home/docker/nextcloud/config:/config
- /srv/mergerfs/Public/Cloud:/data
db:
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
environment:
- MYSQL_ROOT_PASSWORD=MyPass
- MYSQL_PASSWORD=My Pass
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
image: mariadb:10.5
restart: always
volumes:
- /home/docker/nextcloud/db:/mysql
redis:
command: redis-server --requirepass MyPass
environment:
- REDIS_HOST=redis
- REDIS_HOST_PASSWORD=MyPass
image: redis:latest
restart: always
Alles anzeigen
Thank you in advance
Itsik