Fixup bug with monolog 2->3

This commit is contained in:
Greyscale 2023-08-18 08:22:13 +02:00
parent 7760f61c09
commit a1a6c22a08
No known key found for this signature in database
GPG key ID: 74BAFF55434DA4B2
7 changed files with 86 additions and 52 deletions

View file

@ -14,7 +14,7 @@
"guzzlehttp/guzzle": "^7.3", "guzzlehttp/guzzle": "^7.3",
"twig/twig": "^3.0", "twig/twig": "^3.0",
"league/flysystem": "^2.1", "league/flysystem": "^2.1",
"monolog/monolog": "^2.2", "monolog/monolog": "^3.4",
"bramus/monolog-colored-line-formatter": "~3.0", "bramus/monolog-colored-line-formatter": "~3.0",
"adambrett/shell-wrapper": "~1.0", "adambrett/shell-wrapper": "~1.0",
"league/flysystem-aws-s3-v3": "^2.1", "league/flysystem-aws-s3-v3": "^2.1",

53
bouncer/composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "958e2173310514bbba6c4e97cb64d5a1", "content-hash": "9d0282b41840d0b06ccd2411ce298ea9",
"packages": [ "packages": [
{ {
"name": "adambrett/shell-wrapper", "name": "adambrett/shell-wrapper",
@ -246,24 +246,24 @@
}, },
{ {
"name": "bramus/monolog-colored-line-formatter", "name": "bramus/monolog-colored-line-formatter",
"version": "3.1.0", "version": "3.1.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/bramus/monolog-colored-line-formatter.git", "url": "https://github.com/bramus/monolog-colored-line-formatter.git",
"reference": "cd1ada798fec11a5862cb67944c651b6a8e04911" "reference": "bbbffb43b0cbfff5cb6bb8e2c1dd15c99de8bd32"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/bramus/monolog-colored-line-formatter/zipball/cd1ada798fec11a5862cb67944c651b6a8e04911", "url": "https://api.github.com/repos/bramus/monolog-colored-line-formatter/zipball/bbbffb43b0cbfff5cb6bb8e2c1dd15c99de8bd32",
"reference": "cd1ada798fec11a5862cb67944c651b6a8e04911", "reference": "bbbffb43b0cbfff5cb6bb8e2c1dd15c99de8bd32",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"bramus/ansi-php": "^3.0.3", "bramus/ansi-php": "^3.0.3",
"monolog/monolog": "~3.0",
"php": "^8.1" "php": "^8.1"
}, },
"require-dev": { "require-dev": {
"monolog/monolog": "~3.0",
"phpunit/phpunit": "~9.6" "phpunit/phpunit": "~9.6"
}, },
"type": "library", "type": "library",
@ -286,7 +286,7 @@
"description": "Colored Line Formatter for Monolog", "description": "Colored Line Formatter for Monolog",
"support": { "support": {
"issues": "https://github.com/bramus/monolog-colored-line-formatter/issues", "issues": "https://github.com/bramus/monolog-colored-line-formatter/issues",
"source": "https://github.com/bramus/monolog-colored-line-formatter/tree/3.1.0" "source": "https://github.com/bramus/monolog-colored-line-formatter/tree/3.1.1"
}, },
"funding": [ "funding": [
{ {
@ -294,7 +294,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-03-29T13:28:41+00:00" "time": "2023-04-11T12:52:29+00:00"
}, },
{ {
"name": "guzzlehttp/guzzle", "name": "guzzlehttp/guzzle",
@ -908,42 +908,41 @@
}, },
{ {
"name": "monolog/monolog", "name": "monolog/monolog",
"version": "2.9.1", "version": "3.4.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/Seldaek/monolog.git", "url": "https://github.com/Seldaek/monolog.git",
"reference": "f259e2b15fb95494c83f52d3caad003bbf5ffaa1" "reference": "e2392369686d420ca32df3803de28b5d6f76867d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/f259e2b15fb95494c83f52d3caad003bbf5ffaa1", "url": "https://api.github.com/repos/Seldaek/monolog/zipball/e2392369686d420ca32df3803de28b5d6f76867d",
"reference": "f259e2b15fb95494c83f52d3caad003bbf5ffaa1", "reference": "e2392369686d420ca32df3803de28b5d6f76867d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=7.2", "php": ">=8.1",
"psr/log": "^1.0.1 || ^2.0 || ^3.0" "psr/log": "^2.0 || ^3.0"
}, },
"provide": { "provide": {
"psr/log-implementation": "1.0.0 || 2.0.0 || 3.0.0" "psr/log-implementation": "3.0.0"
}, },
"require-dev": { "require-dev": {
"aws/aws-sdk-php": "^2.4.9 || ^3.0", "aws/aws-sdk-php": "^3.0",
"doctrine/couchdb": "~1.0@dev", "doctrine/couchdb": "~1.0@dev",
"elasticsearch/elasticsearch": "^7 || ^8", "elasticsearch/elasticsearch": "^7 || ^8",
"ext-json": "*", "ext-json": "*",
"graylog2/gelf-php": "^1.4.2 || ^2@dev", "graylog2/gelf-php": "^1.4.2 || ^2.0",
"guzzlehttp/guzzle": "^7.4", "guzzlehttp/guzzle": "^7.4.5",
"guzzlehttp/psr7": "^2.2", "guzzlehttp/psr7": "^2.2",
"mongodb/mongodb": "^1.8", "mongodb/mongodb": "^1.8",
"php-amqplib/php-amqplib": "~2.4 || ^3", "php-amqplib/php-amqplib": "~2.4 || ^3",
"phpspec/prophecy": "^1.15", "phpstan/phpstan": "^1.9",
"phpstan/phpstan": "^0.12.91", "phpstan/phpstan-deprecation-rules": "^1.0",
"phpunit/phpunit": "^8.5.14", "phpstan/phpstan-strict-rules": "^1.4",
"predis/predis": "^1.1 || ^2.0", "phpunit/phpunit": "^10.1",
"rollbar/rollbar": "^1.3 || ^2 || ^3", "predis/predis": "^1.1 || ^2",
"ruflin/elastica": "^7", "ruflin/elastica": "^7",
"swiftmailer/swiftmailer": "^5.3|^6.0",
"symfony/mailer": "^5.4 || ^6", "symfony/mailer": "^5.4 || ^6",
"symfony/mime": "^5.4 || ^6" "symfony/mime": "^5.4 || ^6"
}, },
@ -966,7 +965,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-main": "2.x-dev" "dev-main": "3.x-dev"
} }
}, },
"autoload": { "autoload": {
@ -994,7 +993,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/Seldaek/monolog/issues", "issues": "https://github.com/Seldaek/monolog/issues",
"source": "https://github.com/Seldaek/monolog/tree/2.9.1" "source": "https://github.com/Seldaek/monolog/tree/3.4.0"
}, },
"funding": [ "funding": [
{ {
@ -1006,7 +1005,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-02-06T13:44:46+00:00" "time": "2023-06-21T08:46:11+00:00"
}, },
{ {
"name": "mtdowling/jmespath.php", "name": "mtdowling/jmespath.php",

21
bouncer/docker-bake.hcl Normal file
View file

@ -0,0 +1,21 @@
group "default" {
targets = [
"bouncer",
]
}
variable "PLATFORMS" {
default = [
"arm64",
"amd64",
]
}
target "bouncer" {
context = "."
dockerfile = "Dockerfile"
platforms = PLATFORMS
tags = [
"benzine/bouncer:latest",
"ghcr.io/benzine-framework/bouncer:latest",
]
target = "bouncer"
}

View file

@ -2,42 +2,56 @@ version: "3.4"
services: services:
bouncer: bouncer:
image: benzine/bouncer build:
context: .
target: bouncer
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
environment: # environment:
- BOUNCER_LETSENCRYPT_MODE=production # - BOUNCER_LETSENCRYPT_MODE=production
- BOUNCER_LETSENCRYPT_EMAIL=matthew@baggett.me # - BOUNCER_LETSENCRYPT_EMAIL=matthew@baggett.me
- BOUNCER_S3_ENDPOINT=http://grey.ooo:9000 # - BOUNCER_S3_ENDPOINT=http://grey.ooo:9000
- BOUNCER_S3_KEY_ID=geusebio # - BOUNCER_S3_KEY_ID=geusebio
- BOUNCER_S3_KEY_SECRET=teblE0neTf2NQcVFaZIRkSF44RscyQ3G # - BOUNCER_S3_KEY_SECRET=teblE0neTf2NQcVFaZIRkSF44RscyQ3G
- BOUNCER_S3_BUCKET=bouncer-certificates # - BOUNCER_S3_BUCKET=bouncer-certificates
- BOUNCER_S3_USE_PATH_STYLE_ENDPOINT="yes" # - BOUNCER_S3_USE_PATH_STYLE_ENDPOINT="yes"
ports: ports:
- 80:80 - 127.0.0.5:80:80
- 443:443 - 127.0.0.5:443:443
depends_on:
- web-a
- web-b
- web-c
web-a: web-a:
image: benzine/php:nginx build:
volumes: context: .
- ./test/public-web-a:/app/public target: test-app-a
environment: environment:
- BOUNCER_DOMAIN=a.web.grey.ooo - BOUNCER_DOMAIN=a.web.grey.ooo
- BOUNCER_LETSENCRYPT=true - BOUNCER_LETSENCRYPT=false
- BOUNCER_TARGET_PORT=80
ports:
- 127.0.0.5:81:80
web-b: web-b:
image: benzine/php:nginx build:
volumes: context: .
- ./test/public-web-b:/app/public target: test-app-b
environment: environment:
- BOUNCER_DOMAIN=b.web.grey.ooo - BOUNCER_DOMAIN=b.web.grey.ooo
- BOUNCER_LETSENCRYPT=true - BOUNCER_LETSENCRYPT=false
- BOUNCER_TARGET_PORT=80
ports:
- 127.0.0.5:82:80
web-c: web-c:
image: benzine/php:nginx build:
volumes: context: .
- ./test/public-web-c:/app/public target: test-app-c
environment: environment:
- BOUNCER_DOMAIN=c.web.grey.ooo - BOUNCER_DOMAIN=c.web.grey.ooo
- BOUNCER_LETSENCRYPT=true - BOUNCER_LETSENCRYPT=false
- BOUNCER_TARGET_PORT=80
ports:
- 127.0.0.5:83:80

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB