robwilkerson
robwilkerson
HHomarr
Created by robwilkerson on 12/16/2023 in #💬・get-help
Mapping port 80:7575
I have a goal of reaching my dashboard via dashboard.mydomain.com from within my LAN. Using portainer, I've configured and created a macvlan and updated the Homarr stack to use that network. The container is now happily running on its own reserved IP at 192.168.1.160 and I'm able to reach the dashboard at http://homarr.mydomain.com:7575. The next step, which I expected to be simple, was to have :80 on that IP forward to :7575 so that I'd have a nice tight path to the dashboard at http://homarr.mydomain.com, but that's not working out so well for me. Does anyone happen to see what I'm missing in my stack definition?
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
- /volume1/docker/homarr/configs:/app/data/configs
- /volume1/docker/homarr/icons:/app/public/icons
- /volume1/docker/homarr/data:/data
networks:
- lan
ports:
- '7575:7575'
- '80:7575'

networks:
lan:
external:
name: lan
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
- /volume1/docker/homarr/configs:/app/data/configs
- /volume1/docker/homarr/icons:/app/public/icons
- /volume1/docker/homarr/data:/data
networks:
- lan
ports:
- '7575:7575'
- '80:7575'

networks:
lan:
external:
name: lan
32 replies
HHomarr
Created by robwilkerson on 12/15/2023 in #💬・get-help
Docker Integration
I am admittedly as new to this as new gets, but I'm struggling to get Docker integration to work the way it's described in documentation and the google-ing I've done so far. I have Homarr running as a Portainer stack with the Docker socket mounted as a volume, but I don't see the Docker icon on the Dashboard that it seems like I should expect to see. Here's the stack definition:
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
- /volume1/docker/homarr/configs:/app/data/configs
- /volume1/docker/homarr/icons:/app/public/icons
- /volume1/docker/homarr/data:/data
ports:
- '7575:7575'
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
- /volume1/docker/homarr/configs:/app/data/configs
- /volume1/docker/homarr/icons:/app/public/icons
- /volume1/docker/homarr/data:/data
ports:
- '7575:7575'
Where did I go wrong? Or am I simply expecting something to exist because I'm watching and reading old content? Thanks!
7 replies