Add docker-compose file for "easy deployment"

This commit is contained in:
Matthias 2020-06-04 12:05:58 +02:00
parent 3fab329080
commit 6f0fa29cae
2 changed files with 23 additions and 1 deletions

View File

@ -4,7 +4,7 @@ Freqtrade UI build with [Vue.js](https://vuejs.org/) and [boostrap-vue](https://
## WARNING
This project is still in it's early stages, and is not yet stable nor recommended to be used for productiion usages.
This project is still in it's early stages (consider it early-alpha), and is not yet stable nor recommended to be used for production usages.
It will require Freqtrade to be running on the same host with the API enabled under (`localhost:8081`). This port can be changed in `vue.config.js`.
@ -33,5 +33,15 @@ npm run build
npm run lint
```
### Build and run docker version
```
docker-compose build
docker-compose up -d
# Access using http://localhost:8080/
```
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).

12
docker-compose.yml Normal file
View File

@ -0,0 +1,12 @@
---
version: '3.8'
services:
frequi:
build:
context: .
dockerfile: "./Dockerfile"
image: frequi
# image: freqtradeorg/frequi:master
restart: unless-stopped
ports:
- "8080:80"