Skip to content

Commit 4aa5df3

Browse files
committed
Add option to restore coldfront db from file.
1 parent 187fae7 commit 4aa5df3

5 files changed

Lines changed: 2298 additions & 1 deletion

File tree

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ HPCTS_VERSION="2023.05"
22
SLURM_VERSION="21.08.8-2"
33
MARIADB_VERSION=10.3
44
MONGODB_VERSION=5.0
5+
COLDFRONT_RESTORE="true"

coldfront/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ RUN /build/install.sh && rm -rf /build
1313
COPY --chown=coldfront:coldfront local_settings.py /etc/coldfront/local_settings.py
1414
COPY --chown=coldfront:coldfront coldfront.env /etc/coldfront/coldfront.env
1515
COPY --chown=coldfront:coldfront checkdb.py /srv/www/checkdb.py
16+
COPY coldfront.dump /usr/share/coldfront/coldfront.dump
1617
COPY coldfront-nginx.conf /etc/nginx/conf.d/coldfront.conf
1718
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
1819
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]

0 commit comments

Comments
 (0)