34 lines
1.0 KiB
YAML
34 lines
1.0 KiB
YAML
version: '3'
|
|
services:
|
|
homepage:
|
|
image: ghcr.io/benphelps/homepage
|
|
container_name: homepage_homepage
|
|
env_file:
|
|
- homepage_secrets.env
|
|
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
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
labels:
|
|
- traefik.http.routers.homepage.rule=Host(`homepage.jafner.net`)
|
|
- traefik.http.routers.homepage.tls.certresolver=lets-encrypt
|
|
|
|
networks:
|
|
web:
|
|
external: true |