71 lines
3.1 KiB
YAML
71 lines
3.1 KiB
YAML
version: "3.7"
|
|
services:
|
|
loki:
|
|
image: git.nixc.us/nixius/loki:production-loki
|
|
environment:
|
|
- PUID=1000 # UID to run the application as
|
|
- PGID=1000 # GID to run the application as
|
|
- WS_FALLBACK=false # Set to true to enable websocket fallback if the peer to peer WebRTC connection is not available to the client.
|
|
- RATE_LIMIT=false # Set to true to limit clients to 1000 requests per 5 min.
|
|
- RTC_CONFIG=false # Set to the path of a file that specifies the STUN/TURN servers.
|
|
- DEBUG_MODE=false # Set to true to debug container and peer connections.
|
|
- TZ=Etc/UTC # Time Zone
|
|
deploy:
|
|
replicas: 1
|
|
# placement:
|
|
# constraints:
|
|
# - node.hostname == ingress.nixc.us
|
|
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'
|
|
networks:
|
|
- traefik
|
|
|
|
|
|
grafana:
|
|
image: git.nixc.us/nixius/loki:production-grafana
|
|
environment:
|
|
- PUID=1000 # UID to run the application as
|
|
- PGID=1000 # GID to run the application as
|
|
- WS_FALLBACK=false # Set to true to enable websocket fallback if the peer to peer WebRTC connection is not available to the client.
|
|
- RATE_LIMIT=false # Set to true to limit clients to 1000 requests per 5 min.
|
|
- RTC_CONFIG=false # Set to the path of a file that specifies the STUN/TURN servers.
|
|
- DEBUG_MODE=false # Set to true to debug container and peer connections.
|
|
- TZ=Etc/UTC # Time Zone
|
|
deploy:
|
|
replicas: 1
|
|
# placement:
|
|
# constraints:
|
|
# - node.hostname == ingress.nixc.us
|
|
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
|
|
networks:
|
|
traefik:
|
|
external: true |