H
Homarr•13mo ago
Redgunner

Unable to connect

Hi, I am very new to this so apologies if there is a simple solution and i am doing something wrong. I have added Homarr through Portainer using the docker compose installation but when I try to connect to the server using my server ip and port 7575 it does not load. Also in container list under the ip address and published ports nothing is listed where on my other containers do.
No description
5 Replies
MajorMarcin
MajorMarcin•13mo ago
here you have my Stack example
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
- configs:/app/data/configs
- icons:/app/public/icons
- data:/data
ports:
- '7575:7575'
volumes:
configs:
icons:
data:
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
- configs:/app/data/configs
- icons:/app/public/icons
- data:/data
ports:
- '7575:7575'
volumes:
configs:
icons:
data:
MajorMarcin
MajorMarcin•13mo ago
I also use portainer, I created separate volumes and it looks like this
No description
MajorMarcin
MajorMarcin•13mo ago
regarding the port, check if the container has added a network
Redgunner
RedgunnerOP•13mo ago
Hi thanks. i have now set mine up the same way as yours however still cannot connect. I have checked under the network tab and can see that it has added a network called homarr_default
MajorMarcin
MajorMarcin•13mo ago
🤔 Container details PORT CONFIGURATION should be something like
0.0.0.0:7575 7575/tcp
:::7575 7575/tcp
0.0.0.0:7575 7575/tcp
:::7575 7575/tcp
but if its new portainer environment you can check Public IP in Environment details (otherwise the port will point to the IP address 0.0.0.0 anyway) however, I don't know if it has any impact during installation because hommar was not the first service that I added to the environment
Want results from more Discord servers?
Add your server