Skip to content

Commit

Permalink
Merge pull request #126 from mdegat01/fix-ingestor-wal-directory
Browse files Browse the repository at this point in the history
Change ingestor's wal directory
  • Loading branch information
mdegat01 authored Nov 10, 2021
2 parents 3567cda + f3c6f89 commit a0ab2d2
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion loki/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ RUN set -eux; \
/var/lib/nginx/tmp/uwsgi \
/var/log/nginx \
/run/nginx \
/run/s6/services/loki/wal/ \
; \
touch /var/log/nginx/error.log; \
\
Expand Down
1 change: 0 additions & 1 deletion loki/apparmor.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ profile loki flags=(attach_disconnected,mediate_deleted) {
@{do_etc}/{nsswitch,resolv}.conf r,
@{PROC}/sys/net/core/somaxconn r,
@{PROC}/@{pid}/cpuset r,
@{do_run}/s6/services/loki/wal/{,**} rw,
@{sys}/kernel/mm/transparent_hugepage/hpage_pmd_size r,
}

Expand Down
1 change: 0 additions & 1 deletion loki/rootfs/etc/fix-attrs.d/permissions
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
/var/log/nginx true abc 0755 0755
/usr/lib/nginx true abc 0755 0755
/usr/share/nginx true abc 0755 0755
/run/s6/services/loki/wal true abc 0755 0755
2 changes: 2 additions & 0 deletions loki/rootfs/etc/loki/default-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ ingester:
chunk_target_size: 1048576
chunk_retain_period: 30s
max_transfer_retries: 0
wal:
dir: /data/loki/wal

schema_config:
configs:
Expand Down

0 comments on commit a0ab2d2

Please sign in to comment.