From 39c6d0e8197a1776a1afe1c529c6b41b0409aaef Mon Sep 17 00:00:00 2001 From: rfl Date: Tue, 1 Oct 2024 21:07:18 +0200 Subject: [PATCH] Fix ip --- paperless/init.sls | 2 +- pillar.example | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/paperless/init.sls b/paperless/init.sls index 7d80aa6..3c193e7 100644 --- a/paperless/init.sls +++ b/paperless/init.sls @@ -80,4 +80,4 @@ paperless-docker-container-running: - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro - port_bindings: - - "{{ salt['pillar.get']('paperless:webserver:port', "127.0.0.1:8000") }}:8000" + - {{ salt['pillar.get']('paperless:webserver:ip', '127.0.0.1') }}:{{ salt['pillar.get']('paperless:webserver:port', '8000') }}:8000 diff --git a/pillar.example b/pillar.example index 977b3f1..ea278a4 100644 --- a/pillar.example +++ b/pillar.example @@ -5,8 +5,9 @@ paperless: version: 7 webserver: image: - path: github.com/paperless-ngx/paperless-ngx - version: v2.11.6 + path: ghcr.io/paperless-ngx/paperless-ngx + version: 2.12 + ip: 127.0.0.1 port: 8000 environment: redis: redis://broker:6379