Skip to content

Commit

Permalink
Revert "added local minio s3 and backup:mongodb script (#649)"
Browse files Browse the repository at this point in the history
This reverts commit bc514c0.
  • Loading branch information
maxmwang authored Mar 17, 2024
1 parent bc514c0 commit 1f3829c
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 1f3829c

Please sign in to comment.