[skip ci] update: readme deployment instructions

Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
ngn 2025-01-28 08:40:41 +03:00
parent 72ed0001ba
commit 90571076f0
Signed by: ngn
GPG Key ID: A3654DF5AD9F641D

View File

@ -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
```