Issue with setting up HTTPS connection
StEtz opened this issue · 2 comments
Hi,
I have setup your Docker-Server + Docker-UI services and wanted to add an HTTPs server in front of it.
So basically:
[AllureSrv] <-- http --> [AllureUI] <-- http --> [httpProxy] <--- https (Internet)
Therefore I understood that in the docker-compose file I have to enable the “TLS” environment variable + add some credentials.
However when I open the Website using the https URL I am getting an error
When I configure my httpProxy to contact the AllureServer directly (e.g. to see the swagger page via https) it works. So the configuration of my httpProxy is correct.
It seems a problem in the AllureUI Implementation.
Also: I connected into the docker container of the AllureUI serice and could reach the AllureSrv container, via:
curl https://allure_srv:5050/
So they do have a connection.
Do you have an idea what I am doing wrong here?
This is my docker-compose file:
version: "3.8"
services:
allure_srv:
image:
frankescobar/allure-docker-service:2.21.0
environment:
- CHECK_RESULTS_EVERY_SECONDS=NONE
- KEEP_HISTORY=1
- SECURITY_USER=…
- SECURITY_PASS=…
- SECURITY_ENABLED=1
- TLS=1
- DEV_MODE=0
volumes:
- /allure_data/projects:/app/projects
hostname:
allure_srv
ports:
- 5050:5050
networks:
my_network:
allure_ui:
image:
frankescobar/allure-docker-service-ui:7.0.3
environment:
- ALLURE_DOCKER_API_URL=http://…:5050
ports:
- 5252:5252
depends_on:
- allure_srv
hostname:
allure_ui
networks:
my_network:
http_proxy:
image:
caddy:alpine
depends_on:
- allure_srv
hostname:
caddy
ports:
- 80:80
volumes:
- /home/ubuntu/allure/Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data
- caddy_config:/config
environment:
- DOMAIN=…
- EMAIL=…
- LOG_FILE=/data/access.log
networks:
my_network:
volumes:
caddy_data:
caddy_config:
networks:
my_network:
Hi !
I am facing the same error in a kubernetes setup : 1 namespace, 1 pod for the API, 1 for the UI
each pod has one docker container, allure folders are shared using Persistent Volume Claim.
The runAllureApp.sh script from allure-docker-service crashes after ~1hour
restarting the API pod manually makes it hold... and 1 hour later its the crash again.
Any help would be truly appreciated.