Patch docker compose version
This commit is contained in:
parent
6be4363d7e
commit
c36620551d
2 changed files with 18 additions and 0 deletions
12
paperless/docker-compose-version-fix.patch
Normal file
12
paperless/docker-compose-version-fix.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
--- /usr/local/lib/python3.11/dist-packages/docker/utils/utils.py 2024-10-08 22:38:19.859988188 +0200
|
||||||
|
+++ utils.py 2024-10-27 17:06:27.445617219 +0100
|
||||||
|
@@ -350,7 +350,8 @@
|
||||||
|
return device_list
|
||||||
|
|
||||||
|
|
||||||
|
-def kwargs_from_env(environment=None):
|
||||||
|
+def kwargs_from_env(environment=None, ssl_version=None):
|
||||||
|
+ # https://stackoverflow.com/a/77642303
|
||||||
|
if not environment:
|
||||||
|
environment = os.environ
|
||||||
|
host = environment.get('DOCKER_HOST')
|
|
@ -102,6 +102,12 @@ tika-docker-container-running:
|
||||||
- networks:
|
- networks:
|
||||||
- paperless-network
|
- paperless-network
|
||||||
|
|
||||||
|
# https://stackoverflow.com/a/77642303
|
||||||
|
docker-compose-version-fix:
|
||||||
|
file.patch:
|
||||||
|
- name: /usr/local/lib/python3.11/dist-packages/docker/utils/utils.py
|
||||||
|
- source: salt://paperless/docker-compose-version-fix.patch
|
||||||
|
|
||||||
paperless-docker-compose-env-file-present:
|
paperless-docker-compose-env-file-present:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: /opt/paperless/docker-compose.env
|
- name: /opt/paperless/docker-compose.env
|
||||||
|
|
Loading…
Reference in a new issue