|
24 | 24 | "docker:build": "docker build --tag dbhub-build docker",
|
25 | 25 | "docker:debug": "docker exec -it dbhub-build /bin/sh /usr/local/bin/debug.sh",
|
26 | 26 | "docker:exec": "docker exec -it dbhub-build /bin/sh",
|
| 27 | + "docker:github": "docker run -itd --rm --name dbhub-build -p 9443-9445:9443-9445/tcp --mount type=bind,src=\"$(pwd)\",target=/dbhub.io dbhub-build:latest", |
27 | 28 | "docker:psql": "docker exec -it dbhub-build psql -U postgres dbhub",
|
28 | 29 | "docker:recompile": "docker exec -it dbhub-build /bin/sh /usr/local/bin/compile.sh",
|
29 | 30 | "docker:restart": "docker exec -it dbhub-build /bin/sh /usr/local/bin/restart.sh",
|
30 |
| - "docker:start": "docker run -itd --rm --name dbhub-build -p 9443-9445:9443-9445/tcp dbhub-build:latest", |
31 |
| - "docker:startdebug": "docker run -itd --rm --name dbhub-build -p 2345-2347:2345-2347/tcp -p 9443-9445:9443-9445/tcp --mount type=bind,src=\"$(pwd)\",target=/dbhub.io dbhub-build:latest", |
32 |
| - "docker:startlocal": "docker run -itd --rm --name dbhub-build -p 9443-9445:9443-9445/tcp --mount type=bind,src=\"$(pwd)\",target=/dbhub.io dbhub-build:latest", |
| 31 | + "docker:start": "docker run -itd --rm --name dbhub-build -p 9443-9445:9443-9445/tcp -p 5550:5550/tcp dbhub-build:latest", |
| 32 | + "docker:startlocal": "docker run -itd --rm --name dbhub-build --net host --mount type=bind,src=\"$(pwd)\",target=/dbhub.io dbhub-build:latest", |
33 | 33 | "docker:stop": "docker container stop dbhub-build",
|
34 |
| - "docker:tail": "docker exec -it dbhub-build tail -F /home/dbhub/output.log" |
| 34 | + "docker:tail": "docker exec -it dbhub-build tail -F /home/dbhub/output.log", |
| 35 | + "mq:bind": "docker exec -it dbhub-build rabbitmqctl list_bindings", |
| 36 | + "mq:conn": "docker exec -it dbhub-build rabbitmqctl list_connections", |
| 37 | + "mq:cons": "docker exec -it dbhub-build rabbitmqctl list_consumers", |
| 38 | + "mq:ex": "docker exec -it dbhub-build rabbitmqctl list_exchanges", |
| 39 | + "mq:q": "docker exec -it dbhub-build rabbitmqctl list_queues" |
35 | 40 | },
|
36 | 41 | "engines": {
|
37 | 42 | "node": "^18.14.1",
|
|
0 commit comments