Skip to content

Commit

Permalink
Set up port mappings for lein watch, update README (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Jun 7, 2024
1 parent f544090 commit 76a0730
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Both deployments provide a web application and an HTTP API

[Here](CONTRIBUTING.md) you can read about contributing to Metafacture Playground.

## Docker
## Docker installation

[Install Docker Engine](https://docs.docker.com/engine/install/) by follwing the guide for your distro.

Expand All @@ -32,13 +32,17 @@ cd metafacture-playground
docker compose -f docker-compose-dev.yml up
```

In development mode the ***local deployment*** is available at http://localhost:8280.

### Start in production mode

```bash
docker compose up
```

## Installation
In production mode the ***local deployment*** is available at http://localhost:3000.

## Manual installation

Before starting you need to install [Leiningen](https://leiningen.org/) and a JDK (minimum Java 11).

Expand Down
3 changes: 2 additions & 1 deletion docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ services:
context: .
dockerfile: Dockerfile.dev
ports:
- 3000:3000
- 8280:8280
- 9630:9630

0 comments on commit 76a0730

Please sign in to comment.