Homarr installed with Portainer stack does not work #2199
Replies: 1 comment
-
My fault. I needed to change only the host port and leave the internal port to 7575. Thank you |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I need your help.
Thisn is the current configuration.
Raspberrypi 4 with raspian and portainer.
I created the following stack in composer:
version: '3'
#---------------------------------------------------------------------#
Homarr - A simple, yet powerful dashboard for your server.
#---------------------------------------------------------------------#
services:
homarr:
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
- /home/dark/dockers/homarr/configs:/app/data/configs
- /home/dark/dockers/homarr/icons:/app/public/icons
- /home/dark/dockers/homarr/data:/data
- /mnt/mynas:/mnt/mynas
- /mnt/myusb:/mnt/myusb
ports:
- '7573:7573'
Then the container is created without any error and it is in healthy status.
The port configuration is as follow (sorry for the bad formatting):
and the logs shows:
**
Exporting hostname...
Migrating database...
yarn run v1.22.19
$ tsx ./migrate.ts
Done in 1.35s.
Starting production server...
Listening on port 7575 url: http://f130c3974d4a:7575
and the network is created in container as follows:
**
homarr_default 172.21.0.2 172.21.0.1 02:42:ac:15:00:02
But if I try to connect via browser to homarr using :7573 or :7575 I receive:
This site can’t be reached
192.168.1.53 refused to connect.
Try:
Checking the connection
[Checking the proxy and the firewall]
ERR_CONNECTION_REFUSED
If I create the container with "network mode: host"
I can reach Homarr and configure it.
Any idea whhere I am wrong?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions