updated workflow

This commit is contained in:
Marvin Zhang
2022-06-12 15:18:36 +08:00
parent aa915435ac
commit 77e3c359f2

View File

@@ -145,13 +145,13 @@ jobs:
- name: Test image
run: |
curl http://localhost:27017
docker network ls
docker run --rm -d --name crawlab_master \
-e CRAWLAB_NODE_MASTER=true \
-e CRAWLAB_DEMO=false \
-e CRAWLAB_MONGO_HOST=localhost \
-e CRAWLAB_MONGO_PORT=27017 \
-p 8080:8080 \
--network host \
image
docker logs -f crawlab_master &
docker exec crawlab_master env