Kexogg / profi-software-controller-docker

This Docker image can be used to launch the IP-COM ProFi software controller (soft ac) in a Docker container, Wine-free
MIT License
0 stars 0 forks source link

does not work #1

Open adminxp opened 2 months ago

adminxp commented 2 months ago

thanks for the docker image, did what i could using manual successfuly built an image but ip com controller in not accessible by IP:8070 port. if I try to build image again i got this: root@armbian:~# docker compose up -d [+] Running 3/3 ⠿ Container root-mongo-1 Running 0.0s ⠿ Container root-redis-1 Running 0.0s ⠿ Container root-controller-1 Started 10.4s

I am newbie to docker and linux. May be this is lack of instructions to do, may be a bug docker ps shows:

docker_ps

Kexogg commented 2 months ago

Are you trying to access it on address you set in docker-compose file (ipv4_address: 10.0.70.10 in example docker-compose)? By default, it's not going to work on your localhost (armbian), only on your custom address. Make sure this address is compatible with your network configuration. If you're already using right address, some logs (docker logs root-controller-1 --tail 500) and curl output (curl mycustomip:8070) can help

adminxp commented 2 months ago

my docker compose docker-compose.pdf changed file extension to upload here. network address is compatible cause i got 192.168.0.75 in my LAN. logs are here too curl log.txt tail log.txt

Kexogg commented 2 months ago

It looks like scripts are missing execution privileges. Try running chmod +x scripts/*, remove old image docker image rm imagename --force and try running docker compose up again.

Also, since you're already mounting nginx folder and jar file (volumes section of your docker-compose file) you can simply use pre-built image instead of building it yourself.

adminxp commented 2 months ago

still does not work, i installed portainer and everything runs well there _root-controller-1_logs.txt port list