mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
docker: update instructions
This commit is contained in:
1 parent
3e7306e232
commit
b32e7b53ec
5 files changed
+14
-21
No files matched your search
@@ -12,6 +12,8 @@ services:
|
||||
- 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.
|
||||
oj-mongo:
|
||||
image: mongo
|
||||
container_name: oj-mongo
|
||||
@@ -27,12 +29,12 @@ services:
|
||||
- oj-minio
|
||||
- oj-mongo
|
||||
volumes:
|
||||
- ./data/backend/config:/root/.hydro
|
||||
- ./data/backend:/root/.hydro
|
||||
environment:
|
||||
- ACCESS_KEY=CHANGE_THIS
|
||||
- SECRET_KEY=CHANGE_THIS
|
||||
- MINIO_ACCESS_KEY=CHANGE_THIS
|
||||
- MINIO_SECRET_KEY=CHANGE_THIS
|
||||
ports:
|
||||
- "0.0.0.0:80:8888"
|
||||
- "0.0.0.0:80:8888" # In docker mode, change THIS port instead of port in system settings!
|
||||
|
||||
oj-judge:
|
||||
build: ./judge
|
||||
@@ -42,4 +44,4 @@ services:
|
||||
depends_on:
|
||||
- oj-backend
|
||||
volumes:
|
||||
- ./data/judge/config:/root/.config/hydro
|
||||
- ./data/judge:/root/.config/hydro
|
||||
Reference in new issue
Block a user