Skip to content

Commit bf6719e

Browse files
committed
Fix loki starting error - missing env-vars
1 parent 1c70781 commit bf6719e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

services/logging/docker-compose.yml.j2

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,14 @@ services:
143143
- source: loki_config
144144
target: /etc/loki/loki.yaml
145145
command: -config.file=/etc/loki/loki.yaml
146-
deploy:
146+
environment:
147+
- S3_BUCKET_NAME_LOKI=${S3_BUCKET_NAME_LOKI}
148+
- S3_REGION_LOKI=${S3_REGION_LOKI}
149+
- S3_ACCESS_KEY_LOKI=${S3_ACCESS_KEY_LOKI}
150+
- S3_SECRET_KEY_LOKI=${S3_SECRET_KEY_LOKI}
151+
- S3_FORCE_PATH_STYLE_LOKI=${S3_FORCE_PATH_STYLE_LOKI}
152+
- S3_ENDPOINT_LOKI=${S3_ENDPOINT_LOKI}
153+
- LOKI_RETENTION_PERIOD=${LOKI_RETENTION_PERIOD}
147154
placement:
148155
constraints: []
149156
replicas: 1

0 commit comments

Comments
 (0)