Nextcloud 15 (docker) with MariaDB
-
- Posts: 5
- youtube meble na wymiar Warszawa
- Joined: Tue May 17, 2016 4:37 pm
Nextcloud 15 (docker) with MariaDB
It would be nice if the dockerized nextcloud could make use of the MariaDB service of ADM.
-
- Posts: 49
- Joined: Mon Sep 07, 2015 6:40 pm
Re: Nextcloud 15 (docker) with MariaDB
im sure its possible with a docker sql database and docker compose
-
- Posts: 5
- Joined: Tue May 17, 2016 4:37 pm
Re: Nextcloud 15 (docker) with MariaDB
Yes, that's possible for sure. But there's already a mariadb running, so it makes more sense to use that one than fire up a new one for every service that needs one. RAM is a tad limited here.
The challenge is how to map the host's mariadb port into the nextcloud docker container without exposing the port also to the outside.
Alternative: mount the mariadb socket into the nextcloud container.
The challenge is how to map the host's mariadb port into the nextcloud docker container without exposing the port also to the outside.
Alternative: mount the mariadb socket into the nextcloud container.
-
- Posts: 52
- Joined: Wed Feb 01, 2017 1:34 am
- Location: Amsterdam
Re: Nextcloud 15 (docker) with MariaDB
Is it possible to use a different approach - install the Docker CE app for ADM, then use the Nextcloud Docker image, from https://github.com/nextcloud/docker?asl wrote:Yes, that's possible for sure. But there's already a mariadb running, so it makes more sense to use that one than fire up a new one for every service that needs one. RAM is a tad limited here.
The challenge is how to map the host's mariadb port into the nextcloud docker container without exposing the port also to the outside.
Alternative: mount the mariadb socket into the nextcloud container.
-
- Posts: 34
- Joined: Thu Jun 29, 2017 5:07 pm
Re: Nextcloud 15 (docker) with MariaDB
How to do that?asl wrote:Alternative: mount the mariadb socket into the nextcloud container.
Asustor AS6104T
-
- Posts: 5
- Joined: Tue May 17, 2016 4:37 pm
Re: Nextcloud 15 (docker) with MariaDB
This is pretty much exactly what the ADM nextcloud app is doing.Is it possible to use a different approach - install the Docker CE app for ADM, then use the Nextcloud Docker image, from https://github.com/nextcloud/docker?
I was hoping that the ADM nextcloud maintainers could answer that. But basically the start script would just pass the mount option to the docker run command. And the /etc/php7/conf.d/mysql.ini would need to specify the path to the mariadb socket, as documented here: https://docs.nextcloud.com/server/stabl ... ation.html> Alternative: mount the mariadb socket into the nextcloud container.
How to do that?