webdav/stack.production.yml

57 lines
2.1 KiB
YAML

version: "3.7"
services:
loki:
image: git.nixc.us/nixius/loki:production-loki
volumes:
- /root/tank/persist/nixc.us/loki/production/data/:/loki/
deploy:
replicas: 1
labels:
homepage.group: apps
homepage.name: loki
homepage.href: https://loki.nixc.us/
homepage.description:
us.nixc.autodeploy: "true"
traefik.enable: "true"
traefik.http.routers.production_loki_loki.tls: "true"
traefik.http.services.production_loki_loki.loadbalancer.server.port: 3100
traefik.http.routers.production_loki_loki.rule: Host(`loki.nixc.us`)
traefik.http.routers.production_loki_loki.entrypoints: websecure
traefik.http.routers.production_loki_loki.tls.certresolver: letsencryptresolver
traefik.http.routers.production_loki_loki.service: production_loki_loki
traefik.docker.network: traefik
# - 'traefik.http.routers.production_uptime_uptime.middlewares=authelia@docker'
placement:
constraints:
- node.hostname == macmini3
networks:
- traefik
- logging
grafana:
image: git.nixc.us/nixius/loki:production-grafana
deploy:
replicas: 1
labels:
homepage.group: apps
homepage.name: grafana
homepage.href: https://grafana.nixc.us/
homepage.description:
us.nixc.autodeploy: "true"
traefik.enable: "true"
traefik.http.routers.production_grafana_grafana.tls: "true"
traefik.http.services.production_grafana_grafana.loadbalancer.server.port: 3000
traefik.http.routers.production_grafana_grafana.rule: Host(`grafana.nixc.us`)
traefik.http.routers.production_grafana_grafana.entrypoints: websecure
traefik.http.routers.production_grafana_grafana.tls.certresolver: letsencryptresolver
traefik.http.routers.production_grafana_grafana.service: production_grafana_grafana
traefik.docker.network: traefik
# - 'traefik.http.routers.production_uptime_uptime.middlewares=authelia@docker'
networks:
- traefik
- logging
networks:
traefik:
external: true
logging:
external: true