mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 01:38:19 +08:00
core&ui: goodbye, minio (#417)
This commit is contained in:
1 parent
7abc0a7d1b
commit
e06c86e9dd
34 files changed
+410
-322
No files matched your search
@@ -18,4 +18,3 @@ RUN npm i pm2 yarn -g && \
|
||||
sudo apt-get install clang -y --no-install-recommends && \
|
||||
mkdir -p ~/.hydro && \
|
||||
echo '{"host":"127.0.0.1","port":"27017","name":"hydro","username":"","password":""}' >~/.hydro/config.json && \
|
||||
echo "MINIO_ACCESS_KEY=minioadmin\nMINIO_SECRET_KEY=minioadmin" >~/.hydro/env
|
||||
@@ -9,6 +9,7 @@ services:
|
||||
VARIANT: 16
|
||||
volumes:
|
||||
- ..:/workspace:cached
|
||||
- testdata:/data/file
|
||||
command: sleep infinity
|
||||
network_mode: service:db
|
||||
db:
|
||||
@@ -16,14 +17,7 @@ services:
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- mongodb-data:/data/db
|
||||
minio:
|
||||
image: minio/minio:latest
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- minio-data:/data
|
||||
network_mode: service:db
|
||||
command: minio server /data --console-address ":9001"
|
||||
|
||||
volumes:
|
||||
mongodb-data:
|
||||
minio-data:
|
||||
testdata:
|
||||
Reference in new issue
Block a user