Closed solomax closed 5 years ago
but still if you want to mounted with file system which folders should be binded to maintain persistance?
Following folders need to persist:
/var/lib/mysql/
/opt/red5/webapps/openmeetings/upload
/opt/red5/webapps/openmeetings/streams
I guess that's it
In my case DB is an external container. Here is my docker file
FROM ubuntu:16.04
ENV work /root/work
ENV OM_HOME /opt/red5
WORKDIR ${work}
COPY ffmpeg.sh ./
RUN chmod a+x *.sh
RUN ./ffmpeg.sh
RUN apt-get update && apt-get install sox -y && apt-get install ghostscript -y && apt-get install libfaac-dev -y && apt-get install imagemagick -y && apt-get install -y --no-install-recommends libav-tools && apt-get install openjdk-8-jre -y && apt-get install libreoffice -y --no-install-recommends && apt-get autoclean -y && apt-get autoremove -y && rm -rf /var/lib/apt/lists/*
WORKDIR /opt
I'm running by mounting /opt/red5/webapps/openmeetings
but still on restart the presistance is lost. I think it's because of the db and other config getting resetted. Any idea how to preserve those as well?
The code above doesn't look like OpenMeetings Docker file I believe you need to debug your Docker and ensure it works
@solomax any specific reason for building ffmpeg instead of directly installing from repository?
@Maannniii before 4.0.5 ffmped with fdk_aac support was required, since 4.0.5 "fresh" ffmpeg is required (to support complex filters)
@solomax Is there any unauthenticated API
provided by Openmeetings to do health check from docker.
@Maannniii you can use /services/info/version
@solomax but that API doesn't guarantee that Openmeetings is healthy. For example: If MySQL is down and Open meetings show not initialized but API returns 200.
It will return 200, but initialized field will be false
There is no healthy
flag/method ATM
please create JIRA (https://issues.apache.org/jira/browse/OPENMEETINGS) regarding it
@solomax any idea about disabling default Tomcat error pages? Also, I've successfully persisted data and made Mysql as a separate container so that the overall size of Openmeetings container is reduced. Trying to implement in alpine will update once done.
Is this question somehow relates to the Issue topic?
@solomax I don't know how to contact you. not sure whether this is an issue or feature. if needed will open a new issue upon ur advice.
You can write to the @user mailing list: https://openmeetings.apache.org/mailing-lists.html
I believe this issue can be closed
There are 'Data Volumes' and other strategies. http://www.computerweekly.com/feature/Docker-storage-how-to-get-persistent-storage-in-Docker
(as NOTED in #2)