core&ui: goodbye, minio (#417)

This commit is contained in:
undefined authored and GitHub committed 2022-08-23 00:40:21 +08:00
1 parent 7abc0a7d1b
commit e06c86e9dd
34 files changed
+410 -322

No files matched your search

-1
View File
@@ -12,7 +12,6 @@ fi
if [ ! -f "$ROOT/first" ]; then
echo "for marking use only!" > "$ROOT/first"
hydrooj cli system set file.endPoint http://oj-minio:9000/
hydrooj cli user create systemjudge@systemjudge.local root rootroot
hydrooj cli user setSuperAdmin 2
+1 -14
View File
@@ -1,16 +1,6 @@
version: '3.7'
services:
oj-minio:
image: minio/minio
container_name: oj-minio
command: server /data
restart: always
volumes:
- ./data/minio:/data
environment:
- MINIO_ACCESS_KEY=CHANGE_THIS
- MINIO_SECRET_KEY=CHANGE_THIS
# Warning: mongodb here is not password-protected.
# DO NOT EXPOSE THIS SERVICE TO THE PUBLIC.
@@ -26,13 +16,10 @@ services:
container_name: oj-backend
restart: always
depends_on:
- oj-minio
- oj-mongo
volumes:
- ./data/file:/data/file
- ./data/backend:/root/.hydro
environment:
- MINIO_ACCESS_KEY=CHANGE_THIS
- MINIO_SECRET_KEY=CHANGE_THIS
ports:
- "0.0.0.0:80:8888" # In docker mode, change THIS port instead of port in system settings!