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 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 ```bash
# Get the mktxp repository # Get the mktxp repository
@ -60,9 +67,11 @@ git clone https://github.com/akpw/mktxp.git
cd mktxp cd mktxp
# Build the docker image # Build the docker image
docker build . -t mktxp docker build . -t leonmorten/mktxp:latest
``` ```
</details>
Now get this repo and install all services: Now get this repo and install all services:
```bash ```bash

View file

@ -46,7 +46,9 @@ services:
# MKTXP # MKTXP
# https://github.com/akpw/mktxp # https://github.com/akpw/mktxp
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: volumes:
- './mktxp/:/root/mktxp/' - './mktxp/:/root/mktxp/'
networks: networks: