Compare commits

..

No commits in common. 'bb675df9b3eace6c3ecc666a5e6b794943f46257' and '2d108070c4711300c0a33e43b45a01f397ea94b2' have entirely different histories.

@ -11,7 +11,7 @@ repos:
language: fail
files: "\\.rej$"
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.3
rev: v2.7.1
hooks:
- id: prettier
additional_dependencies:
@ -20,7 +20,7 @@ repos:
args:
- --plugin=@prettier/plugin-xml
- repo: https://github.com/myint/autoflake
rev: v2.2.1
rev: v1.4
hooks:
- id: autoflake
args:
@ -31,21 +31,21 @@ repos:
- --remove-duplicate-keys
- --remove-unused-variables
- repo: https://github.com/asottile/pyupgrade
rev: v3.13.0
rev: v2.34.0
hooks:
- id: pyupgrade
- repo: https://github.com/psf/black
rev: 23.9.1
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/timothycrosley/isort
rev: 5.12.0
rev: 5.10.1
hooks:
- id: isort
args:
- --settings=.
- repo: https://github.com/pycqa/flake8
rev: 6.1.0
rev: 3.9.2
hooks:
- &flake8
id: flake8
@ -60,7 +60,7 @@ repos:
- --extend-ignore=F401
files: /__init__\.py$
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.3.0
hooks:
- id: check-case-conflict
- id: check-executables-have-shebangs

@ -39,10 +39,6 @@ defaults
backend dockerbackend
server dockersocket $SOCKET_PATH
backend docker-events
server dockersocket $SOCKET_PATH
timeout server 0
frontend dockerfrontend
bind :2375
http-request deny unless METH_GET || { env(POST) -m bool }
@ -72,5 +68,3 @@ frontend dockerfrontend
http-request allow if { path,url_dec -m reg -i ^(/v[\d\.]+)?/volumes } { env(VOLUMES) -m bool }
http-request deny
default_backend dockerbackend
use_backend docker-events if { path,url_dec -m reg -i ^(/v[\d\.]+)?/events }

Loading…
Cancel
Save