Skip to content

Commit

Permalink
Modifying readme
Browse files Browse the repository at this point in the history
  • Loading branch information
chrsdietz committed Jul 31, 2017
1 parent 86410c7 commit 8e07032
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,31 @@
# stentor-proxy
📣 Route 53 and API Gateway are currently incompatible so this is used as a temporary solution until they make them sing in key.

# Administrative stuff

This uses Docker to create the containers for each proxy. A base image can be created from the `Dockerfile` located in the project root. Then region specific images can be created with the `Dockerfile` found in the `regional` directory. The `Dockerfile` found in the `regional` directory is expecting an image tagged with `xappmedia/proxy`.



Example:

### Base build:
```
docker build -t xappmedia/proxy .
```

### Regional build:

```
docker build -t xappmedia/proxy/us-east-1 --build-arg domain=<regional_domain> ./regional
```

The docker images can be tested by:

```
docker run -p 8080:8080 -d xappmedia/proxy/us-east-1
curl -i localhost:8080
*** output ***
"us-east-1"
```

0 comments on commit 8e07032

Please sign in to comment.