Make building mktxp optional

This commit is contained in:
Leon Morten Richter 2022-07-15 15:08:19 +02:00
parent 24f2804549
commit 2c34649eb7
No known key found for this signature in database
GPG key ID: 9903A6789FCE9468
2 changed files with 14 additions and 3 deletions

View file

@ -50,7 +50,14 @@ sudo systemctl enable docker
sudo reboot
```
Build the mktxp Docker image
<details>
<summary>Optional: Build the Docker Image for mktxp</summary>
It might be necessary to build the Docker Image for: https://github.com/akpw/mktxp.
This is especially the case, if your architecture is not:
- linux/amd64
- linux/arm/v7
- linux/arm64
```bash
# Get the mktxp repository
@ -60,9 +67,11 @@ git clone https://github.com/akpw/mktxp.git
cd mktxp
# Build the docker image
docker build . -t mktxp
docker build . -t leonmorten/mktxp:latest
```
</details>
Now get this repo and install all services:
```bash

View file

@ -46,7 +46,9 @@ services:
# MKTXP
# https://github.com/akpw/mktxp
mktxp:
image: mktxp:latest
# https://github.com/M0r13n/mikrotik_monitoring
# Note: You might need to build the image yourself if not on AMD64 or ARM-v7/V8
image: leonmorten/mktxp:latest
volumes:
- './mktxp/:/root/mktxp/'
networks: