1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:36 +02:00

Update README.md

This commit is contained in:
Kev++ 2015-05-27 20:02:23 +08:00
parent bd998a02d2
commit b64f1402c4

View File

@ -14,7 +14,7 @@ In the following example, I will setup a server/client pair to connect www.googl
## Create a docker-compose.yml
```
```yaml
server:
image: vimagick/fteproxy
ports:
@ -47,7 +47,7 @@ client:
## Run fteproxy server/client
```
```bash
$ docker-compose up -d
Creating fteproxy_server_1...
Creating fteproxy_client_1...
@ -61,7 +61,7 @@ fteproxy_server_1 /bin/sh -c /fteproxy/ftepr ... Up 0.0.0.0:32768->80/t
## Test with curl
```
```html
$ curl http://localhost:9009/
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY>