Hi BaseX team, hi all
I want to create a docker image based on the existing basexhttp image, but with other credentials for the admin user. For this reason I added an edited .basex file with changed password (here: mypassword) to the new docker image: .basex: ...# Client/Server ArchitectureHOST = localhostPORT = 1984SERVERPORT = 1984USER = adminPASSWORD = mypasswordSERVERHOST = ... Dockerfile: FROM basex/basexhttp:latestMAINTAINER Mike myemail@mail.comCOPY .basex /srv/VOLUME ["/srv/BaseXData", "/srv/BaseXWeb"]
After starting the docker container I checked if the edited file can be found under the path "/srv/.basex". The file is there but when I want to login to the database (or run an XQuery script via the browser) I cannot login with admin/mypassword. The erreor message is: Connection failed: Access denied. But I can still use the default user/pw (admin/admin) to connect. Why is the changed .basex file not loaded/parsed when starting the BaseX (http) server on the docker container? Should the file be copied to a different path?
Best regards,Mike