mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
workspace: remove dev dockerfile
This commit is contained in:
1 parent
cd3f05d4d1
commit
55266888d4
4 files changed
+11
-16
No files matched your search
+8
-5
@@ -1,14 +1,17 @@
|
||||
image:
|
||||
file: .gitpod.Dockerfile
|
||||
image: gitpod/workspace-mongodb
|
||||
tasks:
|
||||
- command: mongod --dbpath /home/gitpod/db
|
||||
- init: |
|
||||
mkdir -p /home/gitpod/.hydro
|
||||
echo '{"host":"127.0.0.1","port":"27017","name":"hydro","username":"","password":""}' >/home/gitpod/.hydro/config.json && \
|
||||
yarn
|
||||
pm2 start mongod
|
||||
yarn build:ui
|
||||
yarn build:ui:production
|
||||
npx hydrooj cli system set server.port 2333
|
||||
npx hydrooj cli user create root@hydro.local root rootroot 2
|
||||
npx hydrooj cli user setSuperAdmin 2
|
||||
yarn debug
|
||||
command: yarn debug
|
||||
env:
|
||||
DEFAULT_STORE_PATH: /home/gitpod/file
|
||||
vscode:
|
||||
extensions:
|
||||
- dbaeumer.vscode-eslint
|
||||
|
||||
Reference in new issue
Block a user