For om-docker you have to additionally pass OM_DATA_DIR variable [1] [1] https://github.com/openmeetings/openmeetings-docker/blob/master/Dockerfile#L41
On Sat, 22 Aug 2020 at 23:13, Xiaxuan <[email protected]> wrote: > > So the JAVA_OPTS="-DDATA_DIR=/opt/omdata" defined in ./bin/startup.sh > file must same as the docker source value and target value ? just like > this: > > sudo docker run -d --name kms -p 8888:8888 --mount type=bind,source= > /opt/omdata,target=/opt/omdata kurento/kurento-media-server > > is it correct? > > At 2020-08-21 07:04:03, "Maxim Solodovnik" <[email protected]> wrote: > >You should pass it like this: > >export JAVA_OPTS="-DDATA_DIR=/opt/omdata" > >./bin/startup.sh > > > >On Thu, 20 Aug 2020 at 21:30, Xiaxuan <[email protected]> wrote: > >> > >> > >> How can I config the DATA_DIR option. > >> > >> Best regards > >> > >> andyxia > >> > >> > >> > > > > > > > >-- > >Best regards, > >Maxim > > > > > -- Best regards, Maxim
