Closed BinaryWorld2099 closed 1 year ago
Hi, can you try to add a trailing /
to your SMOCKER_CONFIG_BASE_PATH
?
I'm prettry sure that it will work with
docker run -d --restart=always -p 8080:8080 -p 8081:8081 -e SMOCKER_CONFIG_BASE_PATH=/smocker/ --name smocker thiht/smocker
Sorry, seems still not working with trailing / Similar result when try to deploy in minikube environment
http://localhost:8081/smocker http://localhost:8081/smocker/ http://localhost:8081/smocker/pages/mock
In minikube and docker, only not setting SMOCKER_CONFIG_BASE_PATH was working
I am able to deploy in K8s environment now, with custom URL
Below is my setting
Ingress:
thanks for you help
I was trying to set MOCKER_CONFIG_BASE_PATH=/smocker
docker run -d --restart=always -p 8080:8080 -p 8081:8081 -e SMOCKER_CONFIG_BASE_PATH=/smocker --name smocker thiht/smocker
result: