-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
efd8dda
commit c120b9e
Showing
3 changed files
with
61 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,33 @@ | ||
# Docker builds | ||
# List service - GraphQL and REST services for species lists | ||
|
||
This is the back end for the species-lists project. | ||
It is a Spring Boot application that provides REST and GraphQL web services for accessing, modifying species lists. | ||
|
||
## Getting started | ||
|
||
```bash | ||
./gradlew bootRun | ||
``` | ||
|
||
## Elasticsearch and MongoDB | ||
|
||
To run the elasticsearch and mongodb containers, use the following command: | ||
|
||
```bash | ||
docker-compose -f src/main/docker/docker-compose.yml up | ||
``` | ||
|
||
## GraphQL | ||
|
||
The GraphQL test interface is available at `http://localhost:8080/graphiql`. | ||
|
||
## REST | ||
|
||
The Swagger UI for REST services are available at `http://localhost:8080`. | ||
|
||
|
||
# Docker hub | ||
|
||
The docker images for list-service are available on [docker hub](https://hub.docker.com/r/atlasoflivingaustralia/lists-service). | ||
Commits to this `develop` branch will result in a new image being built and pushed to the `latest` tag on docker hub. | ||
|
||
docker buildx build --push -t "atlasoflivingaustralia/lists-service:$(git rev-parse --short HEAD)" -f src/main/docker/Dockerfile . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters