Allure Docker Service UI provides a friendly user interface for frankescobar/allure-docker-service API container.
- Repository: frankescobar/allure-docker-service-ui
Docker container versions are publish on https://github.com/fescobar/allure-docker-service-ui/releases
Allure Docker Service supports architectures amd64, arm/v7 and arm64.
docker run -p 5050:5050 -e CHECK_RESULTS_EVERY_SECONDS=NONE -e KEEP_HISTORY=1 \
-v ${PWD}/projects:/app/projects \
frankescobar/allure-docker-service
docker run -p 5252:5252 -e ALLURE_DOCKER_PUBLIC_API_URL=http://localhost:5050 \
frankescobar/allure-docker-service-ui
docker run -p 5050:5050 -e CHECK_RESULTS_EVERY_SECONDS=NONE -e KEEP_HISTORY=1 \
-v "/$(pwd)/projects:/app/projects" \
frankescobar/allure-docker-service
docker run -p 5252:5252 -e ALLURE_DOCKER_PUBLIC_API_URL=http://localhost:5050 \
frankescobar/allure-docker-service-ui
Using docker-compose is the best way to manage containers: allure-docker-multi-project-example/docker-compose.yml
version: '3'
services:
allure:
image: "frankescobar/allure-docker-service"
environment:
CHECK_RESULTS_EVERY_SECONDS: NONE
KEEP_HISTORY: 1
KEEP_HISTORY_LATEST: 25
ports:
- "5050:5050"
volumes:
- ${PWD}/projects:/app/projects
allure-ui:
image: "frankescobar/allure-docker-service-ui"
environment:
ALLURE_DOCKER_PUBLIC_API_URL: "http://localhost:5050"
ALLURE_DOCKER_PUBLIC_API_URL_PREFIX: ""
ports:
- "5252:5252"
docker-compose up allure allure-ui
If you want to run in background:
docker-compose up -d allure allure-ui
You can see the logs:
docker-compose logs -f allure
docker-compose logs -f allure-ui
Check examples here: frankescobar/allure-docker-service-examples
Network Error when I tried to access http://localhost:5252/allure-docker-service-ui/
--> fescobar#4
Open your browser and access to the UI: http://localhost:5252/allure-docker-service-ui
You can get extra info using the next urls:
Configure an url prefix if your deployment requires it (e.g. reverse proxy with nginx)
environment:
URL_PREFIX: "/my-prefix"
With this configuration you can request the UI in this way too:
curl http://localhost:5252/my-prefix/allure-docker-service-ui
sudo apt-get update
sudo apt install -y docker.io
If you want to use docker without sudo, read following links:
- https://docs.docker.com/engine/installation/linux/linux-postinstall/#manage-docker-as-a-non-root-user
- https://stackoverflow.com/questions/21871479/docker-cant-connect-to-docker-daemon
docker build -t allure-ui-release -f docker/Dockerfile --build-arg VERSION=na --build-arg VCS_REF=na --build-arg BUILD_DATE=na .
docker run -d -p 5252:5252 allure-ui-release
docker container ls
docker exec -it ${CONTAINER_ID} bash
docker exec -it ${CONTAINER_ID} tail -f log
docker container rm $(docker container ls -a -q) -f
docker image rm $(docker image ls -a -q)
docker ps -q -f status=exited | xargs docker rm
docker images -f dangling=true | xargs docker rmi
docker login
docker tag allure-ui-release frankescobar/allure-docker-service-ui:${PUBLIC_TAG}
docker push frankescobar/allure-docker-service-ui
docker tag allure-ui-release frankescobar/allure-docker-service-ui:latest
docker push frankescobar/allure-docker-service-ui
docker run -d -p 5252:5252 frankescobar/allure-docker-service-ui
docker run -d -p 5252:5252 frankescobar/allure-docker-service-ui:7.0.0