mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-02-24 09:48:14 +00:00
tests: fix the json log test compose files
This commit is contained in:
parent
de9809a9e5
commit
8aefce916f
@ -1,15 +1,18 @@
|
|||||||
web1:
|
version: "2"
|
||||||
image: web
|
|
||||||
expose:
|
|
||||||
- "81"
|
|
||||||
environment:
|
|
||||||
WEB_PORTS: 81
|
|
||||||
VIRTUAL_HOST: nginx-proxy.test
|
|
||||||
|
|
||||||
sut:
|
services:
|
||||||
container_name: sut
|
web1:
|
||||||
image: nginxproxy/nginx-proxy:test
|
image: web
|
||||||
volumes:
|
expose:
|
||||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
- "81"
|
||||||
environment:
|
environment:
|
||||||
LOG_JSON: 1
|
WEB_PORTS: 81
|
||||||
|
VIRTUAL_HOST: nginx-proxy.test
|
||||||
|
|
||||||
|
sut:
|
||||||
|
container_name: sut
|
||||||
|
image: nginxproxy/nginx-proxy:test
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||||
|
environment:
|
||||||
|
LOG_JSON: 1
|
||||||
|
@ -1,15 +1,18 @@
|
|||||||
web1:
|
version: "2"
|
||||||
image: web
|
|
||||||
expose:
|
|
||||||
- "81"
|
|
||||||
environment:
|
|
||||||
WEB_PORTS: 81
|
|
||||||
VIRTUAL_HOST: nginx-proxy.test
|
|
||||||
|
|
||||||
sut:
|
services:
|
||||||
container_name: sut
|
web1:
|
||||||
image: nginxproxy/nginx-proxy:test
|
image: web
|
||||||
volumes:
|
expose:
|
||||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
- "81"
|
||||||
environment:
|
environment:
|
||||||
LOG_FORMAT: '{"time_local":"$$time_iso8601","remote_addr":"$$remote_addr","request":"$$request","upstream_addr":"$$upstream_addr"}'
|
WEB_PORTS: 81
|
||||||
|
VIRTUAL_HOST: nginx-proxy.test
|
||||||
|
|
||||||
|
sut:
|
||||||
|
container_name: sut
|
||||||
|
image: nginxproxy/nginx-proxy:test
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||||
|
environment:
|
||||||
|
LOG_FORMAT: '{"time_local":"$$time_iso8601","remote_addr":"$$remote_addr","request":"$$request","upstream_addr":"$$upstream_addr"}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user