Skip to content

Commit

Permalink
Update readme, dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
viepovsky committed Jan 3, 2024
1 parent 18c595e commit 0e20e9b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ WORKDIR /app
COPY .mvn .mvn
COPY pom.xml .
COPY mvnw .
RUN chmod +x ./mvnw
RUN ./mvnw dependency:resolve
COPY src src
RUN ./mvnw clean package
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ docker run -d -p 8080:8080 viepovsky/city-walk
```

You can also run app by using `docker compose up -d` in folder where `docker-compose.yml` is located.

## Deployment

The app is deployed to AWS EC2. It is accessible under IP address: `3.72.88.245`.

You can always test it, just replace localhost with this IP address in examples shown below.

## Endpoints

The app provides many endpoints, but users can start by retrieving coordinates for a specific city:
Expand Down

0 comments on commit 0e20e9b

Please sign in to comment.