Comments (7)
from zoonavigator.
Sorry for getting back to you so late. I am currently working on this, however, it's a bit tricky. In Angular you have to provide the "prefix" at build time, which happens during Docker image build, so it cannot be simply added as an environment variable to the final image.
from zoonavigator.
Hi, I updated the documentation with instructions on how to deploy ZooNavigator with custom URL. In short, you will have to build your own Docker image where you'll provide the URL prefix.
from zoonavigator.
Link should probably updated to: https://zoonavigator.elkozmon.com/en/latest/docker/custom-url.html ?
I'm trying to follow the instructions and build a custom docker image myself but I got the following error:
unable to create open ./src/environments/environment.prod.ts: no suchfile or directory
The command '/bin/sh -c dockerize -template ./environment.ts.template:./src/environments/environment.prod.ts' returned a non-zero code: 1
Would you know what could be the reason?
from zoonavigator.
@mujina93 Thanks for the notice, I've updated the link. Also, I realized that the instructions were wrong (submodule init command) so I've updated that as well.
from zoonavigator.
@elkozmon Thanks for the quick answer!
A couple more things:
-
The instructions for the submodule(s) fail as the default is to get the via ssh. I was able to get past
git submodule update --init --recursive
by changing the urls in my.gitmodules
to the http ones of your 2 submodules, followed bygit submodule sync
. Maybe it's worth adding these prior to the first instruction. -
I was able to build the custom docker image. Then I try to run it with the same command I was using before:
docker run -d --network host -e HTTP_PORT=9000 --name rev-zoonavigator --restart unless-stopped my-zoonavigator
it starts, I'm able to reach it at <host>:9000/zoonavigator
(but not at <host>:9000/zoonavigator/
with a /
at the end), but then it's stuck loading the page. I only see the loading logo.
If I check the network in the browser console I see that it tries to make a request to http://93.90.193.89:9000/api/config
.
Am I getting something wrong when trying to start it up or the basepath is missing somewhere (when /api/config
is called)?
from zoonavigator.
@mujina93 Good point, thanks. I've already replaced those URLs by https. I believe the instructions are now correct.
As for the problem with base path, I'm not sure right now but it definitely sounds like a bug to me.
It would be best to address this with a new issue on Github.
from zoonavigator.
Related Issues (20)
- Using SSL artifacts to connect to a secure ZK HOT 1
- Export zookeeper config with plain text format in a file HOT 5
- Znode data search functionality
- Kerberos principal as a user connecting to ZK HOT 4
- Does zookeeper 3.7.0 currently support? HOT 3
- ACL Authentication for SASL HOT 3
- "Malformed Authorization header" with nginx Basic-Auth HOT 6
- Provide more details for `CONNECTION_<ID>_AUTH_<AUTHID>_(SCHEME|ID)` in docs HOT 2
- Make connection to ZK with SSL failed HOT 1
- Zookeeper 3.7 test succeeded (docker compose) HOT 1
- Remove Log4j 1.2.x from Dependencies HOT 2
- Not Able To Export Zookeeper nodes due to Error java.lang.IllegalStateException: Client is not started HOT 1
- Unable to to connect to zookeeper from zoonavigator HOT 1
- liquid template engine support
- Arm64 support HOT 6
- Security: Default startup should only listen on localhost, and should not run as root HOT 1
- Can not build: the version of node.js should be bump to at least 14.20.0 HOT 1
- Zoonavigator upgrade due to EOL versions of software, Kubernetes cgroupv2 problems & potential security vulnerabilities HOT 1
- Binary file in Zoonavigator HOT 7
- How to upload and download large files HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zoonavigator.