Compare commits

..

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

2 changed files with 12 additions and 12 deletions

View File

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

View File

@ -1,7 +1,4 @@
# tracker | MatterLinux package tracker # 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 Soruce code of MatterLinux's package tracker, located at
[tracker.matterlinux.xyz](https://tracker.matterlinux.xyz) [tracker.matterlinux.xyz](https://tracker.matterlinux.xyz)
@ -42,19 +39,23 @@ official MatterLinux 24 repos:
``` ```
### Deployment ### 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 ```yaml
version: "3"
services: services:
tracker: tracker:
container_name: mattertracker image: mattertracker
image: git.matterlinux.xyz/matter/tracker restart: unless-stopped
build:
context: ./
ports: ports:
- "127.0.0.1:9877:9877" - "127.0.0.1:9877:9877"
volumes: volumes:
- "./config.json:/app/config.json:ro" - "./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 ```bash
docker-compose up -d docker-compose up -d
``` ```