mirror of
https://github.com/kemko/reproxy.git
synced 2026-01-01 15:55:49 +03:00
add readme to docker example
This commit is contained in:
12
examples/docker/README.md
Normal file
12
examples/docker/README.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# Example of a docker provider
|
||||
|
||||
run this example with `docker-compose up` and try to hit containers:
|
||||
|
||||
- `curl http://localhost/api/svc1/123`
|
||||
- `curl http://localhost/api/svc2/345`
|
||||
- `curl http://localhost/whoami/test`
|
||||
|
||||
you can also try the assets server:
|
||||
|
||||
- `curl http://localhost/1.html`
|
||||
- `curl http://localhost/`
|
||||
@@ -1,14 +1,5 @@
|
||||
# run this example as docker-compose up and try to hit containers:
|
||||
# curl http://localhost/api/svc1/123
|
||||
# curl http://localhost/api/svc2/345
|
||||
# curl http://localhost/whoami/test
|
||||
# also try assets server:
|
||||
# curl http://localhost/1.html
|
||||
# curl http://localhost/
|
||||
|
||||
services:
|
||||
reproxy:
|
||||
build: .
|
||||
image: umputun/reproxy:master
|
||||
container_name: reproxy
|
||||
hostname: reproxy
|
||||
|
||||
Reference in New Issue
Block a user