From 90571076f0bd90a147a45cdecf57d2b1ebe393b4 Mon Sep 17 00:00:00 2001 From: ngn Date: Tue, 28 Jan 2025 08:40:41 +0300 Subject: [PATCH] [skip ci] update: readme deployment instructions Signed-off-by: ngn --- README.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 1749b64..4f94e90 100644 --- a/README.md +++ b/README.md @@ -3,23 +3,19 @@ Soruce code of MatterLinux's security tracker, located at [security.matterlinux.xyz](https://security.matterlinux.xyz) ### Deployment -Web server can be built and deployed with docker compose, here is an -example configuration: +Web server can be deployed with docker compose, here is an example configuration: ```yaml -version: "3" - services: security: - image: mattersecurity - restart: unless-stopped - build: - context: ./ + container_name: mattersecurity + image: git.matterlinux.xyz/matter/security ports: - "127.0.0.1:9876:9876" volumes: - "./db:/app/db" + 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 ```