Hi there,
after reboot our device only starts the docker services after the device connects to the wifi. No Internet needs to be present. This is not what we want.
Is there an option to change this? No idea where to look.
Best regards
Arne
Hello, just to clarify, you want your docker services to start whether an internet connection is present or not? How are you determining that they are currently not starting until the device connects to WiFi? It might be helpful to post your docker-compose file if you have one. Which device type are you using?
Hi,
thanks for getting back to my topic!
I know that the docker are not starting since my screen is black and nothing is working. as soon as they connect to our wifi, all dockers start to run including display. We are using a Raspberry Pi CM4 IO Board with [balenaOS 2.88.4] production.
Thanks for your help
Arne
version: '2.0'
volumes:
resin-data:
services:
camera:
build: ./camera
restart: always
volumes:
- 'resin-data:/data'
privileged: true
network_mode: host
battery:
build: ./battery
privileged: true
network_mode: host
lidars:
build: ./lidars
restart: always
volumes:
- 'resin-data:/data'
privileged: true
depends_on:
- "trigger"
network_mode: host
lidar_rot_py:
restart: always
build: ./lidar_rot_py
volumes:
- 'resin-data:/data'
privileged: true
depends_on:
- "trigger"
network_mode: host
oled_display:
build: ./oled_display
restart: always
privileged: true
network_mode: host
air_sensor:
volumes:
- 'resin-data:/data'
build: ./air_sensor
privileged: true
network_mode: host
trigger:
build: ./trigger
restart: always
privileged: true
network_mode: host
devices:
- '/dev:/dev'
broker:
image: panuwitp/mosquitto-arm
restart: always
network_mode: host
expose:
- "1883"
Hi there, what supervisor version is your device running? Just to rule a couple more things out. Thanks
Hi,
the supervisor version is 12.11.0
Best Arne
Thanks for sharing the version. To dig deeper we would need the device logs. You can enable persistent logging and share the captured device logs here.
Here is doc on persistent logging: Device Logs - Balena Documentation
I used the ip address from my wifi0 at startup in all containers, which froze all of them.