233发布docker运行暴露4000端口

This commit is contained in:
soul-walker 2024-04-11 10:32:08 +08:00
parent 8405d9619d
commit 43022220a0

View File

@ -51,7 +51,7 @@ jobs:
script: | script: |
docker rm -f rts-sim-testing-service || echo "rts-sim-testing-service not exist" docker rm -f rts-sim-testing-service || echo "rts-sim-testing-service not exist"
docker pull gitea.joylink.club/joylink/rts-sim-testing-service:local-test docker pull gitea.joylink.club/joylink/rts-sim-testing-service:local-test
docker run --name rts-sim-testing-service --restart=always --network net --ip 192.168.53.191 -d -p 9091:9091 -v /usr/local/joylink/logs/bjrtsts:/logs/bjrtsts gitea.joylink.club/joylink/rts-sim-testing-service:local-test rts-sim-testing-service -config test_local docker run --name rts-sim-testing-service --restart=always --network net --ip 192.168.53.191 -d -p 9091:9091 -p 4000:4000 -v /usr/local/joylink/logs/bjrtsts:/logs/bjrtsts gitea.joylink.club/joylink/rts-sim-testing-service:local-test rts-sim-testing-service -config test_local
- name: 清理tag为none的镜像 - name: 清理tag为none的镜像
run: | run: |
docker rmi $(docker images --filter "dangling=true" -q) docker rmi $(docker images --filter "dangling=true" -q)