Compare commits

..

No commits in common. "7555bb3f673310228bba645446d5992899ef6992" and "ce78bf803b3fe11442b46000ff01e3765fe28c44" have entirely different histories.

2 changed files with 12 additions and 12 deletions

@ -12,7 +12,6 @@ COPY *.sum ./
RUN go mod download
COPY *.go ./
COPY Makefile ./
COPY lib ./lib
COPY log ./log
COPY public ./public

@ -1,7 +1,4 @@
# 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)
@ -42,19 +39,23 @@ official MatterLinux 24 repos:
```
### Deployment
Web server can be deployed with docker compose using the following configuration file:
Web server can be built and deployed with docker compose using the following
configuration file:
```yaml
version: "3"
services:
tracker:
container_name: mattertracker
image: git.matterlinux.xyz/matter/tracker
image: mattertracker
restart: unless-stopped
build:
context: ./
ports:
- "127.0.0.1:9877:9877"
volumes:
- "./config.json:/app/config.json:ro"
restart: unless-stopped
```
After saving the configuration file, you can run the docker container:
After saving the configuration file, you can build and run the docker container:
```bash
docker-compose up -d
```