mirror of
https://github.com/pawelmalak/flame.git
synced 2024-12-21 09:11:29 +03:00
Add docker-compose instructions and link in readme
This commit is contained in:
parent
c03f302fa6
commit
7970ac3031
17
README.md
17
README.md
@ -37,6 +37,9 @@ npm run dev
|
|||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
### With Docker (recommended)
|
### With Docker (recommended)
|
||||||
|
|
||||||
|
[Docker Hub](https://hub.docker.com/r/pawelmalak/flame)
|
||||||
|
|
||||||
#### Building images
|
#### Building images
|
||||||
```sh
|
```sh
|
||||||
# build image for amd64 only
|
# build image for amd64 only
|
||||||
@ -56,6 +59,20 @@ docker buildx build \
|
|||||||
docker run -p 5005:5005 -v /path/to/data:/app/data flame
|
docker run -p 5005:5005 -v /path/to/data:/app/data flame
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Docker-Compose
|
||||||
|
```yaml
|
||||||
|
version: "2.1"
|
||||||
|
services:
|
||||||
|
flame:
|
||||||
|
image: pawelmalak/flame:latest
|
||||||
|
container_name: flame
|
||||||
|
volumes:
|
||||||
|
- <host_dir>:/app/data
|
||||||
|
ports:
|
||||||
|
- 5005:5005
|
||||||
|
restart: unless-stopped
|
||||||
|
```
|
||||||
|
|
||||||
### Without Docker
|
### Without Docker
|
||||||
Follow instructions from wiki: [Installation without Docker](https://github.com/pawelmalak/flame/wiki/Installation-without-docker)
|
Follow instructions from wiki: [Installation without Docker](https://github.com/pawelmalak/flame/wiki/Installation-without-docker)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user