Compare commits
2 Commits
ce78bf803b
...
7555bb3f67
Author | SHA1 | Date | |
---|---|---|---|
7555bb3f67 | |||
094aa2a96d |
@ -12,6 +12,7 @@ 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
|
||||||
|
21
README.md
21
README.md
@ -1,4 +1,7 @@
|
|||||||
# tracker | MatterLinux package tracker
|
# tracker | MatterLinux package tracker
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
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)
|
||||||
|
|
||||||
@ -39,23 +42,19 @@ official MatterLinux 24 repos:
|
|||||||
```
|
```
|
||||||
|
|
||||||
### Deployment
|
### Deployment
|
||||||
Web server can be built and deployed with docker compose using the following
|
Web server can be deployed with docker compose using the following configuration file:
|
||||||
configuration file:
|
|
||||||
```yaml
|
```yaml
|
||||||
version: "3"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
tracker:
|
tracker:
|
||||||
image: mattertracker
|
container_name: mattertracker
|
||||||
restart: unless-stopped
|
image: git.matterlinux.xyz/matter/tracker
|
||||||
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 build and run the docker container:
|
After saving the configuration file, you can run the docker container:
|
||||||
```bash
|
```bash
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user