Fix config

Fix typos, url and network
This commit is contained in:
rfl 2024-09-20 17:35:44 +02:00
parent e303182a7d
commit cd44a21d73
Signed by: rfl
GPG key ID: 48B0E5DDF8FA62EF

View file

@ -8,6 +8,11 @@ paperless-data-directory-exists:
- name: /opt/paperless/webserver - name: /opt/paperless/webserver
- makedirs: True - makedirs: True
docker-network-paperless-exists:
docker_network.present:
- name: paperless-network
- scope: local
broker-docker-container-running: broker-docker-container-running:
docker_container.running: docker_container.running:
- name: broker - name: broker
@ -16,10 +21,10 @@ broker-docker-container-running:
- restart: unless-stopped - restart: unless-stopped
- binds: /opt/paperless/broker:/data - binds: /opt/paperless/broker:/data
- networks: - networks:
- bridge - paperless-network
gotenberg-docker-container-running: gotenberg-docker-container-running:
docker_container.runnig: docker_container.running:
- name: gotenberg - name: gotenberg
- image: {{ salt['pillar.get']('paperless:gotenberg:image:path', 'docker.io/gotenberg/gotenberg') }}:{{ salt['pillar.get']('paperless:gotenberg:image:version', '8.9.1') }} - image: {{ salt['pillar.get']('paperless:gotenberg:image:path', 'docker.io/gotenberg/gotenberg') }}:{{ salt['pillar.get']('paperless:gotenberg:image:version', '8.9.1') }}
- container_name: gotenberg - container_name: gotenberg
@ -31,16 +36,16 @@ gotenberg-docker-container-running:
- "--chromium-disable-javascript=true" - "--chromium-disable-javascript=true"
- "--chromium-allow-list=file:///tmp/.*" - "--chromium-allow-list=file:///tmp/.*"
- networks: - networks:
- bridge - paperless-network
tika-docker-container-running: tika-docker-container-running:
docker_container.runnig: docker_container.running:
- name: tika - name: tika
- image: {{ salt['pillar.get']('paperless:tika:image:path', 'docker.io/apache/tika') }}:{{ salt['pillar.get']('paperless:tika:image:version', '2.9.2.1') }} - image: {{ salt['pillar.get']('paperless:tika:image:path', 'docker.io/apache/tika') }}:{{ salt['pillar.get']('paperless:tika:image:version', '2.9.2.1') }}
- container_name: tika - container_name: tika
- restart: unless-stopped - restart: unless-stopped
- networks: - networks:
- bridge - paperless-network
paperless-docker-container-running: paperless-docker-container-running:
docker_container.running: docker_container.running:
@ -48,7 +53,7 @@ paperless-docker-container-running:
# So we have to set everything through environment variables. # So we have to set everything through environment variables.
# see https://github.com/paperless-ngx/paperless-ngx/blob/main/docker/compose/docker-compose.env # see https://github.com/paperless-ngx/paperless-ngx/blob/main/docker/compose/docker-compose.env
- name: paperless - name: paperless
- image: {{ salt['pillar.get']('paperless:webserver:image:path', 'github.com/paperless-ngx/paperless-ngx') }}:{{ salt['pillar.get']('paperless:webserver:image:version', 'v2.11.6') }} - 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
- environment: - environment:
- USER_UID=1000 - USER_UID=1000
@ -64,7 +69,7 @@ paperless-docker-container-running:
# - PAPERLESS_URL={{ salt['pillar.get']('paperless:webserver:environment:url', 'https://paperless.flipdot.org') }} # - PAPERLESS_URL={{ salt['pillar.get']('paperless:webserver:environment:url', 'https://paperless.flipdot.org') }}
- restart: always - restart: always
- networks: - networks:
- bridge - paperless-network
- extra_hosts: - extra_hosts:
- ldap.flipdot.space:192.168.3.233 - ldap.flipdot.space:192.168.3.233
- binds: - binds: