paperless-formula/paperless/docker-compose.yml.jinja

23 lines
903 B
Text
Raw Permalink Normal View History

2024-10-25 20:06:53 +02:00
services:
paperless:
2024-10-27 16:55:09 +01:00
image: {{ salt['pillar.get']('paperless:webserver:image:path', 'ghcr.io/paperless-ngx/paperless-ngx') }}:{{ salt['pillar.get']('paperless:webserver:image:version', '2.12') }}
container_name: paperless
env_file: docker-compose.env
restart: always
networks:
2024-10-25 20:06:53 +02:00
- paperless-network
2024-10-27 16:58:23 +01:00
volumes:
2024-10-25 20:06:53 +02:00
- /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
2024-10-27 16:58:23 +01:00
ports:
2024-10-25 20:06:53 +02:00
- {{ salt['pillar.get']('paperless:webserver:ip', '127.0.0.1') }}:{{ salt['pillar.get']('paperless:webserver:port', '8000') }}:8000
2024-10-27 17:32:15 +01:00
networks:
paperless-network:
external:
name: paperless-network