This repository has been archived on 2023-10-18. You can view files and clone it, but cannot push or open issues or pull requests.
link-validator/README.md

40 lines
1.5 KiB
Markdown
Raw Normal View History

2020-09-02 20:09:29 +00:00
# link-validator
Custom image for muffet
2020-05-31 19:43:54 +00:00
[![Build Status](https://img.shields.io/drone/build/docker/link-validator?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/docker/link-validator)
2020-09-21 20:11:02 +00:00
[![Docker Hub](https://img.shields.io/badge/dockerhub-latest-blue.svg?logo=docker&logoColor=white)](https://hub.docker.com/r/thegeeklab/link-validator)
2020-09-02 20:09:29 +00:00
[![Quay.io](https://img.shields.io/badge/quay-latest-blue.svg?logo=docker&logoColor=white)](https://quay.io/repository/thegeeklab/link-validator)
[![Source: Gitea](https://img.shields.io/badge/source-gitea-blue.svg?logo=gitea&logoColor=white)](https://gitea.rknet.org/docker/link-validator)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/docker/link-validator/src/branch/main/LICENSE)
2020-05-31 19:43:54 +00:00
Custom wrapper Docker image for [muffet](https://github.com/raviqqe/muffet) optimized for CI.
2020-05-31 19:43:54 +00:00
2020-05-31 19:54:12 +00:00
## Usage
```Shell
docker run -v $(pwd)/public:/drone/src link-validator
# Pass arguments to muffet
# ... but DO NOT set the server url! This is done automatically.
docker run -v $(pwd)/public:/drone/src link-validator -e
2020-05-31 19:54:12 +00:00
```
## Environment variables
```Shell
LINK_VALIDATOR_BASE_DIR=/drone/src
LINK_VALIDATOR_SERVER_PORT=8000
2022-11-02 21:33:15 +00:00
LINK_VALIDATOR_RETRIES=0
2020-05-31 19:54:12 +00:00
```
## Build
```Shell
docker build -t link-validator:latest .
```
2020-05-31 19:43:54 +00:00
## License
This project is licensed under the MIT License - see the [LICENSE](https://gitea.rknet.org/docker/link-validator/src/branch/main/LICENSE) file for details.