From 7555bb3f673310228bba645446d5992899ef6992 Mon Sep 17 00:00:00 2001 From: ngn Date: Tue, 28 Jan 2025 07:59:04 +0300 Subject: [PATCH] update: readme deployment instructions Signed-off-by: ngn --- README.md | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 0b612d2..1ae0e8c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ # tracker | MatterLinux package tracker + +![](https://git.matterlinux.xyz/matter/tracker/actions/workflows/docker.yml/badge.svg) + Soruce code of MatterLinux's package tracker, located at [tracker.matterlinux.xyz](https://tracker.matterlinux.xyz) @@ -39,23 +42,19 @@ official MatterLinux 24 repos: ``` ### Deployment -Web server can be built and deployed with docker compose using the following -configuration file: +Web server can be deployed with docker compose using the following configuration file: ```yaml -version: "3" - services: tracker: - image: mattertracker - restart: unless-stopped - build: - context: ./ + container_name: mattertracker + image: git.matterlinux.xyz/matter/tracker ports: - - "127.0.0.1:9877:9877" + - "127.0.0.1:9877:9877" volumes: - - "./config.json:/app/config.json:ro" + - "./config.json:/app/config.json:ro" + restart: unless-stopped ``` -After saving the configuration file, you can build and run the docker container: +After saving the configuration file, you can run the docker container: ```bash docker-compose up -d ```