Add docker-compose instructions and link in readme

This commit is contained in:
Neal Striegler-Pettersson 2021-06-27 19:33:27 -04:00 committed by GitHub
parent c03f302fa6
commit 7970ac3031
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,9 @@ npm run dev
## Installation
### With Docker (recommended)
[Docker Hub](https://hub.docker.com/r/pawelmalak/flame)
#### Building images
```sh
# 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-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
Follow instructions from wiki: [Installation without Docker](https://github.com/pawelmalak/flame/wiki/Installation-without-docker)