Update SeedDMS to version 5.1.7, reflect FS changes
This commit is contained in:
parent
b10f5f5abc
commit
e5cc461f4a
@ -19,8 +19,8 @@ docker run --rm seeddms cat /srv/seeddms/create_tables-postgres.sql | docker exe
|
||||
|
||||
# Copy existing files into persistent storage
|
||||
mkdir -p /srv/seeddms/conf /srv/seeddms/data
|
||||
docker run --rm -v /srv/seeddms/conf:/mnt/conf seeddms cp -rp /srv/seeddms/www/conf/. /mnt/conf
|
||||
docker run --rm -v /srv/seeddms/data:/mnt/conf seeddms cp -rp /srv/seeddms/data/. /mnt/conf
|
||||
docker run --rm -v /srv/seeddms/conf:/mnt/conf seeddms cp -rp /srv/seeddms/conf/. /mnt/conf
|
||||
docker run --rm -v /srv/seeddms/data:/mnt/data seeddms cp -rp /srv/seeddms/data/. /mnt/data
|
||||
chown -R 8010:8010 /srv/seeddms/data
|
||||
|
||||
# Configure SeedDMS
|
||||
|
@ -15,7 +15,7 @@ RUN \
|
||||
# Install full-featured wget to work around sourceforge bugs
|
||||
apk --no-cache add wget \
|
||||
# Install SeedDMS
|
||||
&& wget https://sourceforge.net/projects/seeddms/files/seeddms-5.1.6/seeddms-quickstart-5.1.6.tar.gz/download -O /srv/seeddms.tgz \
|
||||
&& wget https://sourceforge.net/projects/seeddms/files/seeddms-5.1.7/seeddms-quickstart-5.1.7.tar.gz/download -O /srv/seeddms.tgz \
|
||||
&& tar xzf /srv/seeddms.tgz -C /srv \
|
||||
&& mv /srv/seeddms51x /srv/seeddms \
|
||||
&& rm -f /srv/seeddms.tgz \
|
||||
@ -26,8 +26,9 @@ RUN \
|
||||
&& chown -R seeddms:seeddms /srv/seeddms \
|
||||
# Cleanup
|
||||
&& apk --no-cache del wget \
|
||||
&& cp /srv/seeddms/www/install/create_tables-postgres.sql /srv/seeddms/create_tables-postgres.sql \
|
||||
&& rm -rf /srv/seeddms/www/install
|
||||
&& mv /srv/seeddms/www/install/create_tables-postgres.sql /srv/seeddms/create_tables-postgres.sql \
|
||||
&& rm -rf /srv/seeddms/seeddms/install /srv/seeddms/www/install \
|
||||
&& rm -rf /srv/seeddms/data/conf /srv/seeddms/www/ext/example
|
||||
|
||||
COPY docker/etc/ /etc/
|
||||
|
||||
@ -38,7 +39,7 @@ RUN \
|
||||
cd /srv/seeddms \
|
||||
&& patch -p0 </srv/seeddms/previewers.patch
|
||||
|
||||
VOLUME ["/srv/seeddms/www/config", "/srv/seeddms/data"]
|
||||
VOLUME ["/srv/seeddms/conf", "/srv/seeddms/data"]
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["s6-svscan", "/etc/services.d"]
|
||||
|
@ -13,7 +13,7 @@ start() {
|
||||
--link postfix \
|
||||
--link postgres \
|
||||
-v /srv/seeddms/data:/srv/seeddms/data \
|
||||
-v /srv/seeddms/conf:/srv/seeddms/www/conf \
|
||||
-v /srv/seeddms/conf:/srv/seeddms/conf \
|
||||
seeddms
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user