Skip to content

Commit

Permalink
Merge pull request #692 from asuc-octo/revert-649-mongodb-backup
Browse files Browse the repository at this point in the history
Revert "added local minio s3 and backup:mongodb script"
  • Loading branch information
maxmwang authored Mar 17, 2024
2 parents bc514c0 + 1f3829c commit 5ed4ccc
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 544 deletions.
6 changes: 0 additions & 6 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,3 @@ SIS_COURSE_APP_KEY=_
GOOGLE_CLIENT_ID=_
GOOGLE_CLIENT_SECRET=_
SESSION_SECRET=_

S3_ENDPOINT=minio
S3_PORT=9000
S3_ACCESS_KEY_ID=root
S3_SECRET_ACCESS_KEY=password
S3_MONGO_BACKUP_BUCKET=mongo-backup
6 changes: 0 additions & 6 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
FROM node:16.14.2-slim AS builder
RUN mkdir /backend
WORKDIR /backend
RUN apt-get update \
&& apt-get install -y wget \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get update && wget https://fastdl.mongodb.org/tools/db/mongodb-database-tools-ubuntu1804-arm64-100.9.0.deb && \
apt-get -y install ./mongodb-database-tools-*100.9.0.deb && \
rm -f mongodb-database-tools-*.deb
COPY package.json .
RUN npm install --prefer-offline --no-audit
COPY . .
Expand Down
Loading

0 comments on commit 5ed4ccc

Please sign in to comment.