Fix compose template file

This commit is contained in:
rfl 2024-10-27 16:58:23 +01:00
parent af9d01bdb9
commit 6be4363d7e
Signed by: rfl
GPG key ID: 48B0E5DDF8FA62EF

View file

@ -6,12 +6,12 @@ services:
restart: always restart: always
networks: networks:
- paperless-network - paperless-network
binds: volumes:
- /opt/paperless/webserver/data:/usr/src/paperless/data - /opt/paperless/webserver/data:/usr/src/paperless/data
- /opt/paperless/webserver/media:/usr/src/paperless/media - /opt/paperless/webserver/media:/usr/src/paperless/media
- /opt/paperless/webserver/export:/usr/src/paperless/export - /opt/paperless/webserver/export:/usr/src/paperless/export
- /opt/paperless/webserver/consume:/usr/src/paperless/consume - /opt/paperless/webserver/consume:/usr/src/paperless/consume
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime: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 - {{ salt['pillar.get']('paperless:webserver:ip', '127.0.0.1') }}:{{ salt['pillar.get']('paperless:webserver:port', '8000') }}:8000