mirror of
https://github.com/Viren070/docker-compose-template.git
synced 2025-12-01 23:17:00 +01:00
23 lines
676 B
YAML
23 lines
676 B
YAML
services:
|
|
homarr:
|
|
image: ghcr.io/homarr-labs/homarr:latest
|
|
container_name: homarr
|
|
restart: unless-stopped
|
|
expose:
|
|
- 7575
|
|
env_file:
|
|
- .env
|
|
labels:
|
|
traefik.enable: true
|
|
traefik.http.routers.homarr.rule: Host(`${HOMARR_HOSTNAME?}`)
|
|
traefik.http.routers.homarr.entrypoints: websecure
|
|
traefik.http.routers.homarr.tls.certresolver: letsencrypt
|
|
traefik.http.services.homarr.loadbalancer.server.port: 7575
|
|
traefik.http.routers.homarr.middlewares: authelia@docker
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- ${DOCKER_DATA_DIR}/homarr:/appdata
|
|
profiles:
|
|
- homarr
|
|
- all
|