-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
65 lines (42 loc) · 1.3 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Tide-test
================
tide-test is a service that provides REST api for tide related data. The service is a RESTFUL, JSON api; however, there are a number of tools to aid with the exploration of the data.
Dependencies
------------
This section lists all of the external dependencies.
The address, port and other information required to connect to each dependency can be found in the environment-specific external configuration
(i.e. application.properties in the application-configuration repository).
* H2 Database
Endpoints
--------
See ``{address}:{port}/swagger-ui.html`` for a list of endpoints exposed by this service.
The UI endpoint lives under the root directory and can be accessed locally in browser via localhost:8002/
Installation
------------
#### Build Docker Image
If you wish, you can also build the image yourself.
First build the application with:
```bash
./gradlew clean build
```
```bash
docker build -t tide docker/.
```
or with docker-compose
```bash
docker-compose build
```
Running
-------
Use the docker compose file specified with the project and run the following command from the directory the docker compose file is in
```bash
docker-compose up -d
```
Or to run an individual service
```bash
docker-compose up -d --build tide
```
Contributing
------------
**Owners**
Ankit Rana