homelab/server/config/homepage/docker-compose.yml

34 lines
1.0 KiB
YAML
Raw Normal View History

2023-01-27 13:27:20 -08:00
version: '3'
services:
homepage:
image: ghcr.io/benphelps/homepage
container_name: homepage_homepage
2023-01-27 14:14:55 -08:00
env_file:
- homepage_secrets.env
2023-01-27 13:27:20 -08:00
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
networks:
- web
volumes:
- $DOCKER_DATA/logs:/app/config/logs
- ./icons/:/app/public/icons
- ./bookmarks.yaml:/app/config/bookmarks.yaml
- ./docker.yaml:/app/config/docker.yaml
- ./kubernetes.yaml:/app/config/kubernetes.yaml
- ./services.yaml:/app/config/services.yaml
- ./settings.yaml:/app/config/settings.yaml
- ./widgets.yaml:/app/config/widgets.yaml
2023-01-27 15:19:46 -08:00
#- /var/run/docker.sock:/var/run/docker.sock:ro
2023-01-27 13:27:20 -08:00
labels:
- traefik.http.routers.homepage.rule=Host(`homepage.jafner.net`)
- traefik.http.routers.homepage.tls.certresolver=lets-encrypt
networks:
web:
external: true