Code Monkey home page Code Monkey logo

pimatic's Introduction

Docker images for PIMATIC

Docker container to run PIMATIC.

I designed this image to run on a Synology Disk Station but it should run just fine in any other Docker environment.

Pull the image

docker pull petschni/pimatic

Run the container

The image uses a config file file that is located outside of the docker container. You can either use one from your local installation or the standard one.

Note: The name of the config file must be config-json-pimatic.json

Use the following run command to run the container:

docker run -it -p YOUR_PORT:PIMATIC_PORT -v FOLDER_OF_CONFIG_FILE:/home/pimatic-app/configMount/ IMAGE_NAME

e.g.

docker run -it -p 80:80 -v ~/Documents/pimatic-app/:/home/pimatic-app/configMount/ dee4e2336b1236

This will start the container and the pimatic service.

Detailed instructions for running pimatic on a Synology Disk Station can be found on my blog.

pimatic's People

Contributors

petschni avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

pimatic's Issues

Starting docker container

I am trying to start the pimatic docker container on my Intel NUC but without succes. Using this command:

docker run -it -p 8484:8484 -v /home/username/docker/pimatic-app/:/home/pimatic-app/configMount/ petschni/pimatic:latest

Copied the config.json to \docker\pimatic-app and renamed it to config-json-pimatic.json.

Portainer tells me the docker is running, but can not access it via IPADRESS:8484.
https://i.imgur.com/yUyb2Zv.png

Https access to pimatic

Hi,
how to enable https access to the pimatic?

What I did:

  • created certificates with the ssl-config script from pimatic (https://pimatic.teamemo.com/Guide/Remote-Access-and-SSL)
  • enabled https in pimatic config.json
  • added a port mapping to the docker container ( port 2000 to port 443) // port 2000 is just random
  • added port forwarding into my fritzbox router ( port 443 to port 2000 of my Synology NAS running docker)

I now want to access my pimatic via https from the internet via dyndns, but I get an error in the browser:

"The security certificate presented by this website is not secure.
Security certificate problems may indicate an attempt to fool you or intercept any data you send to the server"

Any idea on that?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.