From 6be4363d7e76f16e51ed52465a793ebb49e19662 Mon Sep 17 00:00:00 2001 From: rfl Date: Sun, 27 Oct 2024 16:58:23 +0100 Subject: [PATCH] Fix compose template file --- paperless/docker-compose.yml.jinja | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paperless/docker-compose.yml.jinja b/paperless/docker-compose.yml.jinja index 7853978..87503bc 100644 --- a/paperless/docker-compose.yml.jinja +++ b/paperless/docker-compose.yml.jinja @@ -6,12 +6,12 @@ services: restart: always networks: - paperless-network - binds: + volumes: - /opt/paperless/webserver/data:/usr/src/paperless/data - /opt/paperless/webserver/media:/usr/src/paperless/media - /opt/paperless/webserver/export:/usr/src/paperless/export - /opt/paperless/webserver/consume:/usr/src/paperless/consume - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro - port_bindings: + ports: - {{ salt['pillar.get']('paperless:webserver:ip', '127.0.0.1') }}:{{ salt['pillar.get']('paperless:webserver:port', '8000') }}:8000