Skip to content

Commit

Permalink
add docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
LBlend committed May 31, 2022
1 parent 3177fab commit f38b28c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ _Merk deg at dette skriptet antar at PATH til python er satt til `python3`. Hvis

</details>

_Det ligger også en [docker-compose](docker-compose.yml) fil i dette repoet som vil sette opp både backend og frontend gjennom Docker. Merk deg derimot at bruk av denne metoden kan sette restriksjoner på konfigurasjonen din. Se frontendrepoet for mer info._

## Et notat om valg av word2vec-modell og filtrering

### Valg av modell
Expand Down
16 changes: 16 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: "3"

services:
backend:
container_name: normantle-backend
image: "ghcr.io/lblend/normantle:latest"
ports:
- "5000:5000"

frontend:
container_name: normantle-frontend
image: "ghcr.io/lblend/normantle-frontend:latest"
ports:
- "3000:3000"
depends_on:
- backend

0 comments on commit f38b28c

Please sign in to comment.