-
Notifications
You must be signed in to change notification settings - Fork 73
FAQ
It has been tested that the Docker installation fails with versions like 1.29.2
. Upgrade your docker-compose
version to a recent one because the Rekono docker-compose.yml
use modern syntax that needs it.
In Docker environments, the Rekono ports can be easily changed in the docker-compose.yml file:
nginx:
restart: always
build:
context: .
dockerfile: docker/nginx/Dockerfile
image: rekono-nginx:latest
hostname: nginx
container_name: nginx
ports:
- <custom http port>:80
- <custom https port>:443
In this way, exposed Nginx ports are mapped to specific custom local ports.
The web path where Rekono is deployed should be managed using a reverse proxy like Nginx. In Docker environments the nginx.conf file can be customized for that.
Moreover, the frontend must be configured to use the correct backend endpoints. For that, the .env
file in the frontend root directory (see Configuration) should be configured:
VUE_APP_ROOT_BACKEND_PATH=/<my web root path>
Finally, it's needed to configure the backend with the environment variable RKN_ROOT_PATH
or the rootpath
property (see Configuration), to apply the custom web path in the API REST documentation.
However, if you want to continue with the CLI installation, you can try the following:
-
Execute the failed steps manually in your machine, and retry the installation process
-
Change local user used to execute the installation command. Usage of
root
orno-root
users have implications in the installation paths of dependencies