Skip to content

Commit

Permalink
More backup volumes & fixed vector
Browse files Browse the repository at this point in the history
  • Loading branch information
nikarh committed Nov 28, 2023
1 parent 6534bcb commit bb4438d
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ services:
- kavita-data:/volumes/kavita-data:ro
- filebrowser-data:/volumes/filebrowser-data:ro
- qbittorrent-data:/volumes/qbittorrent-data:ro
- qbittorrent-unsafe-data:/volumes/qbittorrent-unsafe-data:ro
- syncthing-data:/volumes/syncthing-data:ro
- jellyfin-config:/volumes/jellyfin-data:ro
- photoprism-database:/volumes/photoprism-database:ro
Expand All @@ -44,6 +45,7 @@ services:
- mail-data:/volumes/mail-data:ro
- roundcube-db:/volumes/roundcube-db:ro
- immich-db-data:/volumes/immich-db-data:ro
- switcheroo-db:/volumes/switcheroo-db:ro
secrets:
- SSH_KEY

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
timezone: Europe/Riga

sources:
sftp-logs:
type: docker_logs
include_images: ["atmoz/sftp"]
docker-logs:
type: docker_logs
exclude_containers: ["loki", "grafana"]

transforms:
sftp-parsed:
type: remap
inputs: ["sftp-logs"]
source: '.message, err = format_timestamp(.timestamp, "%b %d %H:%M:%S", "Europe/Riga") + " files sshd: " + .message'

sinks:
sftp-file:
type: file
inputs: ["sftp-parsed"]
path: /out/sftp.log
encoding:
codec: text
loki:
type: loki
inputs: ["docker-logs"]
endpoint: http://loki:3100/
labels:
datasource: docker
container_name: "{{ .container_name }}"
out_of_order_action: rewrite_timestamp
encoding:
codec: json

0 comments on commit bb4438d

Please sign in to comment.