Patch docker compose version

This commit is contained in:
rfl 2024-10-27 17:15:08 +01:00
parent 6be4363d7e
commit c36620551d
Signed by: rfl
GPG key ID: 48B0E5DDF8FA62EF
2 changed files with 18 additions and 0 deletions

View 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')

View file

@ -102,6 +102,12 @@ tika-docker-container-running:
- networks:
- 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:
file.managed:
- name: /opt/paperless/docker-compose.env