adrinator8
adrinator8
HHomarr
Created by adrinator8 on 7/8/2024 in #💬・get-help
Use Caddy as the reverse proxy
Hi, I've been trying to use my Caddy reverse proxy with Homarr, but I'm encountering a problem. Homarr starts using http://ca7dab43dd9f:7575 (Docker container ID) instead of 127.0.0.1 (localhost). This is my docker-compose.yml file:
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
environment:
NODE_TLS_REJECT_UNAUTHORIZED: 0
BASE_URL: homarr.localhost
ports:
- 127.0.0.1:7575:7575
networks:
- reverse_proxy

networks:
reverse_proxy:
external: true
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
environment:
NODE_TLS_REJECT_UNAUTHORIZED: 0
BASE_URL: homarr.localhost
ports:
- 127.0.0.1:7575:7575
networks:
- reverse_proxy

networks:
reverse_proxy:
external: true
I have the same exact setup using Homepage (https://github.com/gethomepage/homepage) as my personal dashboard for my homelab, and it's working fine. However, I would prefer to use Homarr because I find it nicer. 🙂 I have seen that Traefik works with Homarr. Will Caddy be supported someday? Do you know what might be wrong with my current setup? Thanks for the support!
19 replies