-
Notifications
You must be signed in to change notification settings - Fork 13
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
0 parents
commit a79e9df
Showing
2 changed files
with
68 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
LegalThings One Node | ||
=== | ||
|
||
Requirements | ||
--- | ||
|
||
- [Docker](https://www.docker.com/) | ||
- [Docker compose >= v3.0](https://docs.docker.com/compose/) | ||
|
||
_You can optain the latest version of `docker-compose` using pip._ | ||
|
||
Start | ||
--- | ||
|
||
docker-compose up | ||
|
||
Server | ||
--- | ||
|
||
The server will be running on `http://localhost:3000/` | ||
|
||
Services | ||
--- | ||
|
||
| Service | Url | | ||
| ------------- |---------------| | ||
| LegalFlow | /api/flow | | ||
| LegalEvents | /api/events | |
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
version: '3' | ||
# do not forget the version line, this file syntax is invalid without it | ||
|
||
services: | ||
lto-webserver: | ||
container_name: webserver | ||
image: legalthings/webserver | ||
ports: | ||
- "3000:3000" | ||
networks: | ||
- lto | ||
|
||
legalflow: | ||
container_name: legalflow | ||
image: legalthings/legalflow | ||
environment: | ||
- APPLICATION_ENV=dev.docker | ||
networks: | ||
- lto | ||
depends_on: | ||
- mongo | ||
|
||
legalevents: | ||
container_name: legalevents | ||
image: legalthings/legalevents | ||
environment: | ||
- APPLICATION_ENV=dev.docker | ||
networks: | ||
- lto | ||
depends_on: | ||
- mongo | ||
|
||
mongo: | ||
image: "mongo:3" | ||
networks: | ||
- lto | ||
|
||
networks: | ||
lto: | ||
driver: bridge |