Smocker
This commit is contained in:
20
compose.yaml
20
compose.yaml
@@ -311,7 +311,7 @@ services:
|
||||
API_REFERENCE_CONFIG: |
|
||||
{
|
||||
"sources":[
|
||||
{"url": "https://registry.scalar.com/@scalar/apis/galaxy/latest?format=json"}
|
||||
{ "url": "https://registry.scalar.com/@scalar/apis/galaxy/latest?format=json" }
|
||||
],
|
||||
"theme": "purple"
|
||||
}
|
||||
@@ -324,6 +324,24 @@ services:
|
||||
profiles:
|
||||
- api
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Mock Web API
|
||||
#
|
||||
# ----------------------------------------------------------------------
|
||||
smocker:
|
||||
image: thiht/smocker:latest
|
||||
restart: "no"
|
||||
networks:
|
||||
- caddy_net
|
||||
labels:
|
||||
caddy.mock.localhost: "https://mock.localhost"
|
||||
caddy.mock.localhost.handle_path./ui/*: "reverse_proxy {{upstreams 8081}}"
|
||||
caddy.mock.localhost.handle_path./api/*: "reverse_proxy {{upstreams 8080}}"
|
||||
caddy.mock.localhost.handle_path.: "redir /ui"
|
||||
caddy.mock.localhost.tls: internal
|
||||
profiles:
|
||||
- mock
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Observabilité - Télémétrie
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user