• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    Trouble migrating from executable to docker image.

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 2 Posters 134 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      rayven
      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 1 Reply Last reply Reply Quote 0
      • jkandasaJ jkandasa moved this topic from Announcements on
      • jkandasaJ Offline
        jkandasa @rayven
        last edited by

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

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          rayven @jkandasa
          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 1 Reply Last reply Reply Quote 0
          • jkandasaJ Offline
            jkandasa @rayven
            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/
            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            0

            Online

            587

            Users

            529

            Topics

            3.4k

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