{"id":3881,"date":"2025-09-09T18:26:49","date_gmt":"2025-09-09T09:26:49","guid":{"rendered":"https:\/\/www.kdel.org\/wp\/?p=3881"},"modified":"2025-09-10T01:13:50","modified_gmt":"2025-09-09T16:13:50","slug":"mac%e3%81%a7refbox-%e3%81%9d%e3%81%ae2","status":"publish","type":"post","link":"https:\/\/www.kdel.org\/wp\/?p=3881","title":{"rendered":"Mac\u3067RefBox &#8211; \u305d\u306e2"},"content":{"rendered":"<p><mark><a href=\"https:\/\/www.kdel.org\/wp\/?p=3752\">Mac\u3067RefBox<\/a><\/mark>\u306b\u3066\uff0c\u300c\u305f\u3060\u5358\u306b\uff0cscreen \u306e-r\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u3060\u3051\u306a\u306e\u3067\uff0c\u305d\u3053\u3092\u4fee\u6b63\u3057\u305f\u3089\u52d5\u304f\u3088\u3046\u306b\u306a\u308b\u300d\u306e\u3067\uff0c\u305d\u306e\u65b9\u6cd5\u3067\u5bfe\u5fdc\u3057\u3066\u307f\u308b\u305f\u3081\u306e\u30e1\u30e2\uff0e<br \/>\n\u3068\u3044\u3046\u304b\uff0c\u4eca\uff0c\u8a66\u3057\u3066\u307f\u305f\u3089\uff0c\u3044\u3051\u305f\u304b\u3082\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nexport REFBOX_COMPOSE_COMMAND=docker-compose\r\n<\/pre>\n<p>\u3053\u306e\u307e\u307e\u5b9f\u884c\u3059\u308b\u3068\uff0c\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u3067\u307e\u3059\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nwataru@Mac-mini-3 rcll-get-started % .\/setup.sh\r\nStarting refbox\r\n.\/setup.sh: line 124: docker-compose: command not found\r\n<\/pre>\n<p>docker-compose \u3063\u3066\u30b3\u30de\u30f3\u30c9\u304c\u306a\u3044\u3063\u3066\u3053\u3068\u3067\uff0c\u4eca\u306fdocker\u30b3\u30de\u30f3\u30c9\u306ecompose\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u306a\u3063\u3066\u3044\u307e\u3059\uff0e<br \/>\n\u305d\u3053\u3067\uff0c\u300c-\u300d\u3092\u53d6\u3063\u3066\u5bfe\u5fdc\u3057\u3066\u307f\u308b\u3068\uff0c<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nexport REFBOX_COMPOSE_COMMAND=docker\u3000compose\r\n<\/pre>\n<p>\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u307e\u3059\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nwataru@Mac-mini-3 rcll-get-started % .\/setup.sh \r\nStarting refbox\r\nunknown shorthand flag: 'f' in -f\r\n\r\nUsage:  docker &#x5B;OPTIONS] COMMAND &#x5B;ARG...]\r\n\r\nRun 'docker --help' for more information\r\nUse: screen &#x5B;-opts] &#x5B;cmd &#x5B;args]] or: screen -r &#x5B;host.tty] Options: -a Force all capabilities into each window's termcap. -A -&#x5B;r|R] Adapt all windows to the new display width &amp; height. -c file Read configuration file instead of '.screenrc'. -d (-r) Detach the elsewhere running screen (and reattach here). -dmS name Start as daemon: Screen session in detached mode. -D (-r) Detach and logout remote (and reattach here). -D -RR Do whatever is needed to get a screen session. -e xy Change command characters. -f Flow control on, -fn = off, -fa = auto. -h lines Set the size of the scrollback history buffer. -i Interrupt output sooner when flow control is on. -list or -ls. Do nothing, just list our SockDir. -L Turn on output logging. -m ignore $STY variable, do create a new screen session. -O Choose optimal output rather than exact vt100 emulation. -p window Preselect the named window if it exists. -q Quiet startup. Exits with non-zero return code if unsuccessful. -r Reattach to a detached screen process. -R Reattach if possible, otherwise start a new session. -s shell Shell to execute rather than $SHELL. -S sockname Name this session &lt;pid&gt;.sockname instead of &lt;pid&gt;.&lt;tty&gt;.&lt;host&gt;. -t title Set title. (window's name). -T term Use term as $TERM for windows, rather than &quot;screen&quot;. -U Tell screen to use UTF-8 encoding. -v Print &quot;Screen version 4.00.03 (FAU) 23-Oct-06&quot;. -wipe Do nothing, just clean up SockDir. -x Attach to a not detached screen. (Multi display mode). -X Execute &lt;cmd&gt; as a screen command in the specified session. Error: Unknown option -Q\r\nSetting up screen tab refbox\r\nscreen -S rcll -X screen -t refbox docker -f \/Users\/wataru\/git\/rcll-get-started\/compose_files\/refbox.yaml logs -f\r\n<\/pre>\n<p>\u3053\u308c\u3092screen\u306e\u30a8\u30e9\u30fc\uff08\u30aa\u30d7\u30b7\u30e7\u30f3f\u304c\u304a\u304b\u3057\u3044\uff09\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\uff0cdocker\u30b3\u30de\u30f3\u30c9\u5074\u3067\u306e\u30a8\u30e9\u30fc\u3067\u3057\u305f\uff08usage\u3092\u898b\u305f\u3089\uff0c\u305d\u3046\u306a\u3063\u3066\u3044\u307e\u3059\u306d\uff09\uff0e<br \/>\n\u3067\uff0c\u4f55\u304c\u304a\u304b\u3057\u304b\u3063\u305f\u304b\u3068\u8a00\u3046\u3068\uff0c\u30b3\u30de\u30f3\u30c9\u306e\u4e0e\u3048\u65b9\u3067\u3057\u305f\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nexport REFBOX_COMPOSE_COMMAND=&quot;docker\u3000compose&quot;\r\n<\/pre>\n<p>\u30c0\u30d6\u30eb\u30af\u30a9\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u3067\u56f2\u3093\u3060\u3089\uff0c\u901a\u308a\u307e\u3057\u305f\uff0e<br \/>\n\u3067\uff0c\u3053\u306e\u307e\u307e\u3060\u3068web\u4e0a\u306erefbox\u306e\u30b3\u30f3\u30c6\u30ca\u30a4\u30e1\u30fc\u30b8\u3092\u53d6\u3063\u3066\u304d\u3061\u3083\u3044\u307e\u3059\u306e\u3067\uff0c<mark><a href=\"https:\/\/www.kdel.org\/wp\/?p=3752\">Mac\u3067RefBox<\/a><\/mark>\u306e\u4f5c\u696d\u3092\u3057\u3066\uff0crefbox\u306e\u30b3\u30f3\u30c6\u30ca\u3092build\u3057\u307e\u3057\u3087\u3046\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nmkdir -p ~\/Documents\/git\r\ncd ~\/Documents\/git\r\ngit clone https:\/\/github.com\/robocup-logistics\/rcll-refbox\r\ncd rcll-refbox\r\n<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nwataru@MacBook-Air-3 rcll-refbox % grep -n1 &quot;platform=linux\/x86_64&quot; Dockerfile\r\n10-\r\n11:FROM --platform=linux\/x86_64 fedora:40 as builder\r\n12-RUN   dnf update -y --refresh &amp;&amp; dnf install -y --nodocs 'dnf-command(copr)' &amp;&amp; \\\r\n--\r\n82-\r\n83:FROM --platform=linux\/x86_64 fedora:40 as refbox\r\n84-RUN   dnf update -y --refresh &amp;&amp; dnf install -y --nodocs 'dnf-command(copr)' &amp;&amp; \\\r\n<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ndocker build -t rcll-refbox .\r\ndocker run -t rcll-refbox\r\n<\/pre>\n<p>build \u3057\u3066\u5b9f\u884c\u3057\u305f\u3089\u30b3\u30f3\u30c6\u30ca\u3092\u78ba\u8a8d\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nwataru@Mac-mini-3 rcll-refbox % docker ps\r\nCONTAINER ID   IMAGE                                                   COMMAND                  CREATED             STATUS                  PORTS                                     NAMES\r\n45bf49e4a93b   rcll-refbox                                             &quot;refbox&quot;                 3 seconds ago       Up 2 seconds                                                      determined_pascal\r\n9853a8ec1b16   quay.io\/robocup-logistics\/rcll-refbox-frontend:latest   &quot;httpd-foreground&quot;       About an hour ago   Up About an hour        0.0.0.0:8080-&gt;80\/tcp, &#x5B;::]:8080-&gt;80\/tcp   refbox-frontend\r\n1ec19996ea51   sharelatex\/sharelatex:5.5.4                             &quot;\/sbin\/my_init&quot;          3 weeks ago         Up 20 hours             127.0.0.1:80-&gt;80\/tcp                      sharelatex\r\nbe3c316ab965   redis:6.2                                               &quot;docker-entrypoint.s\u2026&quot;   3 weeks ago         Up 20 hours             6379\/tcp                                  redis\r\n7351cd00af49   mongo:6.0                                               &quot;docker-entrypoint.s\u2026&quot;   3 weeks ago         Up 20 hours (healthy)   27017\/tcp                                 mongo\r\n<\/pre>\n<p>rcll-refbox \u3068\u3057\u3066\u52d5\u3044\u3066\u3044\u308b\u306e\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\uff0e<br \/>\n\u3067\uff0c\u3053\u308c\u3092compose-file\/refbox.yaml \u3067\u8aad\u307f\u53d6\u308b\u5f62\u306b\u306a\u308a\u307e\u3059\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n  refbox:\r\n    container_name: refbox\r\n    image: &quot;${REFBOX_IMAGE}:${REFBOX_TAG}&quot;\r\n<\/pre>\n<p>\u305d\u306e\u305f\u3081\uff0csetup.sh \u306eREFBOX_IMAGE\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u66f4\u3057\u307e\u3059\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n# export REFBOX_IMAGE=quay.io\/robocup-logistics\/rcll-refbox\r\nexport REFBOX_IMAGE=rcll-refbox\r\n<\/pre>\n<p>\u3067\uff0csetup.sh \u3092\u5b9f\u884c\u3057\u305f\u3089\uff0cmongodb-check\u306e\u30b3\u30f3\u30c6\u30ca\u30fc\u306e\u8aad\u307f\u8fbc\u307f\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3063\u307d\u3044\u2026\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nwataru@Mac-mini-3 rcll-get-started % cat compose_files\/refbox.yaml \r\nversion: '3.7'\r\n# name: refbox-compose\r\nservices:\r\n  mongodb-check:\r\n    container_name: mongodb-check\r\n    image: ${MONGODB_IMAGE}:${MONGODB_TAG}\r\n    command: &#x5B;&quot;sh&quot;, &quot;-c&quot;, &quot;mongosh ${RC_MONGODB_URI} --eval 'printjson(db.serverStatus())' || (sleep 1; exit -1)&quot;]\r\n    network_mode: &quot;host&quot;\r\n    restart: on-failure:10\r\n<\/pre>\n<p>\u3053\u308c\u3067\u3059\u3088\u306d\u3047\uff0e<br \/>\nsetup.sh \u7684\u306b\u306f\uff0c<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nexport MONGODB_TAG=7.0\r\n...\r\nexport MONGODB_IMAGE=docker.io\/library\/mongo\r\n<\/pre>\n<p>\u3068\u306a\u3063\u3066\u3044\u307e\u3059\uff0e<br \/>\nlatest\u3060\u3063\u305f\u3089\u53d6\u3063\u3066\u304f\u308c\u308b\u306e\u306b\u306a\u3041\uff0e<br \/>\n<mark><a href=\"https:\/\/hub.docker.com\/layers\/library\/mongo\/7.0\/images\/sha256-68fde503f903b69119f3587757eabb1e4769377ba6fb7a63fa24c6de583b3ec7\">mongo:7.0<\/mark><\/a>\u304b\u306a\u3041\uff0e<br \/>\n<mark><a href=\"https:\/\/hub.docker.com\/layers\/library\/mongo\/7.0\/images\/sha256-1d1ad39817238dd4205dcc2931c74d8d8855d4001692ee8a6fc0be13c6d5988b\">linux arm v8<\/mark><\/a>\u304c\u3042\u308b\u306a\u3041\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nwataru@Mac-mini-3 rcll-get-started % docker run docker.io\/library\/mongo\r\nUnable to find image 'mongo:latest' locally\r\nlatest: Pulling from library\/mongo\r\nbeda47828643: Pull complete \r\nf841815c6988: Pull complete \r\ncc43ec4c1381: Pull complete \r\n791918c13104: Pull complete \r\n9d5286ced06d: Pull complete \r\nb1abc0514d8e: Pull complete \r\n4b43425e165b: Pull complete \r\n5e3fe511aefa: Pull complete \r\nDigest: sha256:c75092233f998275c7b2c3942bb897994adb709bc5b9b7d043cc642ec521b6c7\r\nStatus: Downloaded newer image for mongo:latest\r\n<\/pre>\n<hr>\n<p>\u8272\u3005\u3068\u3084\u3063\u305f\u7d50\u679c\uff0e<\/p>\n<hr>\n<p>\u52d5\u304d\u307e\u3057\u305f\uff0e<br \/>\n\u660e\u65e5\uff0c\u307e\u3068\u3081\u306e\u30d6\u30ed\u30b0\u3092\u66f8\u304d\u307e\u3059\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nwataru@Mac-mini-3 rcll-get-started % git status\r\nOn branch master\r\nYour branch is up to date with 'origin\/master'.\r\n\r\nChanges not staged for commit:\r\n  (use &quot;git add\/rm &lt;file&gt;...&quot; to update what will be committed)\r\n  (use &quot;git restore &lt;file&gt;...&quot; to discard changes in working directory)\r\n\tdeleted:    compose_files\/mongodb.yaml\r\n\tmodified:   compose_files\/refbox.yaml\r\n\tmodified:   config\/refbox\/comm\/default_comm.yaml\r\n\tmodified:   config\/refbox\/mongodb\/default_mongodb.yaml\r\n\tmodified:   config\/refbox\/mongodb\/enable_mongodb.yaml\r\n\ttypechange: setup.sh\r\n<\/pre>\n<p>\u2191enable_mongodb.yaml \u306f\u305f\u3076\u3093\u95a2\u4fc2\u306a\u3044\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nwataru@Mac-mini-3 rcll-get-started % git diff compose_files\/refbox.yaml\r\ndiff --git a\/compose_files\/refbox.yaml b\/compose_files\/refbox.yaml\r\nindex 1d93d85..004b3c4 100644\r\n--- a\/compose_files\/refbox.yaml\r\n+++ b\/compose_files\/refbox.yaml\r\n@@ -1,17 +1,30 @@\r\n version: '3.7'\r\n # name: refbox-compose\r\n services:\r\n+  mongodb:\r\n+    container_name: &quot;mongodb&quot;\r\n+    # network_mode: &quot;host&quot;\r\n+    image: ${MONGODB_IMAGE}:${MONGODB_TAG}\r\n+    restart: &quot;no&quot;\r\n+    command: mongod --port ${RC_MONGODB_PORT}\r\n+    volumes:\r\n+      - '${RC_MONGODB_DATA_DIR}:\/data:z'\r\n+\r\n   mongodb-check:\r\n     container_name: mongodb-check\r\n     image: ${MONGODB_IMAGE}:${MONGODB_TAG}\r\n-    command: &#x5B;&quot;sh&quot;, &quot;-c&quot;, &quot;mongosh ${RC_MONGODB_URI} --eval 'printjson(db.serverStatus())' || (sleep 1; exit -1)&quot;]\r\n-    network_mode: &quot;host&quot;\r\n+    command: &#x5B;&quot;sh&quot;, &quot;-c&quot;, &quot;mongosh ${RC_MONGODB_URI} --eval 'printjson(db.serverStatus())' || (sleep 1; exit 1)&quot;]\r\n+    # network_mode: &quot;host&quot;\r\n+    depends_on:\r\n+      - mongodb\r\n     restart: on-failure:10\r\n \r\n   refbox:\r\n     container_name: refbox\r\n     image: &quot;${REFBOX_IMAGE}:${REFBOX_TAG}&quot;\r\n-    network_mode: &quot;host&quot;\r\n+    # network_mode: &quot;host&quot;\r\n+    ports:\r\n+      - 1234:1234\r\n     depends_on:\r\n       mongodb-check:\r\n         condition: service_completed_successfully\r\n@@ -25,7 +38,7 @@ services:\r\n     container_name: refbox-frontend\r\n     image: &quot;${REFBOX_FRONTEND_IMAGE}:${REFBOX_FRONTEND_TAG}&quot;\r\n     ports:\r\n-      - 8080:80\r\n+      - 6080:80\r\n     volumes:\r\n       - \/var\/tmp\/${USER}:\/usr\/local\/apache2\/logs\/:z\r\n     restart: on-failure:10\r\n<\/pre>\n<p>exit -1 => 1 \u3082\u672c\u8cea\u3067\u306f\u306a\u304b\u3063\u305f\u306f\u305a\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nwataru@Mac-mini-3 rcll-get-started % git diff config\/refbox\/comm\/default_comm.yaml \r\ndiff --git a\/config\/refbox\/comm\/default_comm.yaml b\/config\/refbox\/comm\/default_comm.yaml\r\nindex 15a6abd..bf03fad 100644\r\n--- a\/config\/refbox\/comm\/default_comm.yaml\r\n+++ b\/config\/refbox\/comm\/default_comm.yaml\r\n@@ -20,21 +20,24 @@ llsfrb:\r\n     # Do not specify both!\r\n     public-peer:\r\n       # host: !ipv4 192.168.122.255\r\n-      host: !ipv4 172.26.255.255\r\n+      # host: !ipv4 172.26.255.255\r\n+      host: !ipv4 127.0.0.1\r\n       # port: !udp-port 4444\r\n       send-port: !udp-port 4444\r\n       recv-port: !udp-port 4445\r\n \r\n     cyan-peer:\r\n       # host: !ipv4 192.168.122.255\r\n-      host: !ipv4 172.26.255.255\r\n+      # host: !ipv4 172.26.255.255\r\n+      host: !ipv4 127.0.0.1\r\n       # port: !udp-port 4441\r\n       send-port: !udp-port 4441\r\n       recv-port: !udp-port 4446\r\n \r\n     magenta-peer:\r\n       # host: !ipv4 192.168.122.255\r\n-      host: !ipv4 172.26.255.255\r\n+      # host: !ipv4 172.26.255.255\r\n+      host: !ipv4 127.0.0.1\r\n       # port: !udp-port 4442\r\n       send-port: !udp-port 4442\r\n       recv-port: !udp-port 4447\r\n<\/pre>\n<p>\u2191\u3053\u308c\u306f\u5b9a\u756a\u306e\u5909\u66f4\u3067\u3059\u306d\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nwataru@Mac-mini-3 rcll-get-started % git diff config\/refbox\/mongodb\/default_mongodb.yaml \r\ndiff --git a\/config\/refbox\/mongodb\/default_mongodb.yaml b\/config\/refbox\/mongodb\/default_mongodb.yaml\r\nindex 0cb64ee..35f7381 100644\r\n--- a\/config\/refbox\/mongodb\/default_mongodb.yaml\r\n+++ b\/config\/refbox\/mongodb\/default_mongodb.yaml\r\n@@ -6,7 +6,7 @@\r\n llsfrb:\r\n   mongodb:\r\n     enable: true\r\n-    hostport: localhost\r\n+    hostport: mongodb\r\n     collections:\r\n       text-log: log\r\n       clips-log: clipslog\r\n<\/pre>\n<p>\u2191\u3053\u308c\u306f\u91cd\u8981\u3060\u3063\u305f\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nwataru@Mac-mini-3 rcll-get-started % git diff setup.sh \r\ndiff --git a\/setup.sh b\/setup.sh\r\nindex eb01703..2e6a9d1 100755\r\n--- a\/setup.sh\r\n+++ b\/setup.sh\r\n@@ -10,14 +10,15 @@ fi\r\n export REFBOX_FRONTEND_TAG=latest\r\n export REFBOX_TAG=latest\r\n export MONGODB_BACKEND_TAG=latest\r\n-export MONGODB_TAG=7.0\r\n+export MONGODB_TAG=latest\r\n export MQTT_BRIDGE_TAG=master\r\n export MQTT_BROKER_TAG=latest\r\n export SIMULATOR_TAG=latest\r\n \r\n # Source URLs to obtain the container images from\r\n export REFBOX_FRONTEND_IMAGE=quay.io\/robocup-logistics\/rcll-refbox-frontend\r\n-export REFBOX_IMAGE=quay.io\/robocup-logistics\/rcll-refbox\r\n+# export REFBOX_IMAGE=quay.io\/robocup-logistics\/rcll-refbox\r\n+export REFBOX_IMAGE=rcll-refbox\r\n export MONGODB_BACKEND_IMAGE=quay.io\/robocup-logistics\/mongodb-backend\r\n export MONGODB_IMAGE=docker.io\/library\/mongo\r\n export MQTT_BRIDGE_IMAGE=ghcr.io\/robocup-logistics\/rcll-mqtt-bridge\r\n@@ -28,7 +29,7 @@ export SIMULATOR_IMAGE=quay.io\/robocup-logistics\/rcll-simulator\r\n export REFBOX_LOGS_DIR=$rcll_get_started_dir\/logs\r\n \r\n # compose command (change in case you use alternative tools like podman\r\n-export REFBOX_COMPOSE_COMMAND=docker-compose\r\n+export REFBOX_COMPOSE_COMMAND=&quot;docker compose&quot;\r\n \r\n # location of config files\r\n export REFBOX_CONFIG=.\/..\/config\/refbox\r\n@@ -56,8 +57,10 @@ export RC_SIMULATOR_START=false\r\n export RC_SCREEN_NAME=rcll\r\n \r\n export RC_MONGODB_PORT=27017\r\n-export RC_MONGODB_HOST=localhost\r\n+# export RC_MONGODB_HOST=localhost\r\n+export RC_MONGODB_HOST=mongodb\r\n export RC_MONGODB_URI=mongodb:\/\/${RC_MONGODB_HOST}:${RC_MONGODB_PORT}\r\n+\r\n export RC_MONGODB_BACKEND_DB_NAME=rcll\r\n \r\n export RC_MQTT_BROKER=tcp:\/\/localhost:1883\r\n@@ -100,6 +103,7 @@ function rc_add_to_screen() {\r\n   rc_setup_screen\r\n   rc_clear_screen_tabs $1\r\n   echo &quot;Setting up screen tab $1&quot;\r\n+  echo &quot;screen -S ${RC_SCREEN_NAME} -X screen -t &quot;$1&quot; ${REFBOX_COMPOSE_COMMAND} -f ${rcll_compose_files_dir}\/$1.yaml logs -f&quot;\r\n   screen -S ${RC_SCREEN_NAME} -X screen -t &quot;$1&quot; ${REFBOX_COMPOSE_COMMAND} -f ${rcll_compose_files_dir}\/$1.yaml logs -f\r\n }\r\n<\/pre>\n<p>\u2191\u660e\u65e5\uff0c\u307e\u3068\u3081\u307e\u3059\uff0e<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mac\u3067RefBox\u306b\u3066\uff0c\u300c\u305f\u3060\u5358\u306b\uff0cscreen \u306e-r\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u5bfe\u5fdc\u3057\u3066\u3044 &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.kdel.org\/wp\/?p=3881\"> <span class=\"screen-reader-text\">Mac\u3067RefBox &#8211; \u305d\u306e2<\/span> \u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[3,40,2],"tags":[],"class_list":["post-3881","post","type-post","status-publish","format-standard","hentry","category-logistics-league","category-refbox","category-robocup"],"_links":{"self":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3881","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3881"}],"version-history":[{"count":8,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3881\/revisions"}],"predecessor-version":[{"id":3889,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3881\/revisions\/3889"}],"wp:attachment":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3881"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3881"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3881"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}