Jafner.net/homelab/server/config/homer/docker-compose.yml

30 lines
771 B
YAML
Raw Normal View History

2022-02-08 17:00:27 -08:00
version: '3'
services:
homer:
image: b4bz/homer
2022-07-15 10:51:32 -07:00
container_name: homer_homer
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
2022-07-14 15:22:44 -07:00
keep-file: "true"
restart: "no"
2022-11-01 00:33:10 -07:00
env_file:
- homer.env
volumes:
- ./assets:/www/assets
networks:
- web
labels:
- traefik.http.routers.homer.rule=Host(`home.jafner.net`) || Host(`jafner.net`) || Host(`www.jafner.net`)
- traefik.http.routers.homer.tls.certresolver=lets-encrypt
2022-11-13 20:25:20 -08:00
- traefik.http.routers.homer.tls.options=tls12@file
2022-11-13 20:12:45 -08:00
- traefik.http.routers.homer.middlewares=securityheaders@file
2022-02-08 17:00:27 -08:00
networks:
web:
2022-07-13 13:53:13 -07:00
external: true