Fix compose template file
This commit is contained in:
parent
6a9507ad10
commit
af9d01bdb9
1 changed files with 7 additions and 7 deletions
|
@ -1,17 +1,17 @@
|
||||||
services:
|
services:
|
||||||
paperless:
|
paperless:
|
||||||
- image: {{ salt['pillar.get']('paperless:webserver:image:path', 'ghcr.io/paperless-ngx/paperless-ngx') }}:{{ salt['pillar.get']('paperless:webserver:image:version', '2.12') }}
|
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
|
container_name: paperless
|
||||||
- env_file: docker-compose.env
|
env_file: docker-compose.env
|
||||||
- restart: always
|
restart: always
|
||||||
- networks:
|
networks:
|
||||||
- paperless-network
|
- paperless-network
|
||||||
- binds:
|
binds:
|
||||||
- /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:
|
port_bindings:
|
||||||
- {{ 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
|
||||||
|
|
Loading…
Reference in a new issue