From e82f70405e12ad93ec326986570fd408897c3313 Mon Sep 17 00:00:00 2001 From: Matthias Liffers Date: Sun, 20 Jun 2021 11:40:56 +0800 Subject: [PATCH 1/2] Add example docker-compose config --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index c583f7a..af071c5 100644 --- a/README.md +++ b/README.md @@ -107,6 +107,22 @@ docker run \ thirtythreeforty/neolink ``` +Here is an example docker-compose: + +``` +--- +version: "2" +services: + neolink: + image: thirtythreeforty/neolink + container_name: neolink + ports: + - 8554:8554 + volumes: + - $PWD/neolink.toml:/etc/neolink.toml + restart: unless-stopped +``` + The Docker image is "best effort" and intended for advanced users; questions about running Docker are outside the scope of Neolink. From e89aca4a31199c8a6bf71a6e450ce5f121be8651 Mon Sep 17 00:00:00 2001 From: Matthias Liffers Date: Mon, 21 Jun 2021 09:02:23 +0800 Subject: [PATCH 2/2] Add yml syntax highlight to docker-compose example Signed-off-by: Matthias Liffers --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index af071c5..e29c4dc 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ docker run \ Here is an example docker-compose: -``` +```yml --- version: "2" services: