Merge pull request #56 from strig/patch-1

Add docker-compose instructions and link in readme
This commit is contained in:
pawelmalak 2021-07-15 11:57:18 +02:00 committed by GitHub
commit 6445a5009a
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)