• header.categories
    • header.recent
    • header.tags
    • header.popular
    • register
    • login

    Trouble migrating from executable to docker image.

    scheduled pinned locked moved General Discussion
    4 posts 2 posters 681 views 1 watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • R offline
      rayven
      global:last-edited-by,

      I'm having trouble migrating from the stand alone executable to the docker image.

      Is it possible to do this via backup and restore?

      jkandasaJ one-reply-to-this-post last-reply-time reply quote 0
      • topic:user-moved-topic-from-on, jkandasaJ jkandasa, Announcements,
      • jkandasaJ offline
        jkandasa @rayven
        global:last-edited-by,

        @rayven yes, it is possible via backup restore, can share your docker command to run the MyController?

        R one-reply-to-this-post last-reply-time reply quote 0
        • R offline
          rayven @jkandasa
          global:last-edited-by, rayven

          @jkandasa

          sudo docker run --detach --name mycontroller --publish 8080:8080 --publish 8443:8443 --publish 9443:9443 --volume $PWD/mc_home:/mc_home --volume $PWD/mycontroller.yaml:/app/mycontroller.yaml --env TZ="America/New_York" --restart unless-stopped docker.io/mycontroller/server:2.1.0-devel

          I was getting a warning about metrics at the top of the webpage. It looked like it wasn't connecting to Influx. Are the mycontroller.yaml setting the same for the binary and the docker container?

          jkandasaJ one-reply-to-this-post last-reply-time reply quote 0
          • jkandasaJ offline
            jkandasa @rayven
            global:last-edited-by,

            Are the mycontroller.yaml setting the same for the binary and the docker container?

            Yes, same file/schema used on binary as well as for container.

            @rayven you have to point to your influx db location, docker container always runs on it's own network space, if you specified http://localhost:8086, it tries inside container. Put your host ip address on it. also enable the metric database.

            • installation with docker container: https://mycontroller.org/docs/installation/quick-installation/docker-container/
            • install influx database: https://mycontroller.org/docs/getting-started/install-influxdb/
            • backend configurations: https://mycontroller.org/docs/installation/advanced-installation/backend-configuration/
            one-reply-to-this-post last-reply-time reply quote 0
            • first-post
              last-post

            0

            online

            644

            users

            532

            topics

            3.4k

            posts
            Copyright © 2015-2025 MyController.org | Contributors | Localization