Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
svenstm committed May 22, 2018
0 parents commit a79e9df
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
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 |
40 changes: 40 additions & 0 deletions docker-compose.yml
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

0 comments on commit a79e9df

Please sign in to comment.