Comments (8)
Hi,
Config is in /etc/xen-orchestra/packages/xo-server/.xo-server.toml inside container. Changing config parameters isn't currently supported by container otherwise than fiddling the config manually.
Obviously you should be able to forward any port from the host to containers port 80, so there shouldn't be a reason to change port inside container unless very specific usecase.
from xen-orchestra-docker.
Thank you for the prompt reply,
I'm running the container on TrueNas Scale, TrueNas web is on the 80 port itself, so if I set the network to HOST instead of DHCP for the container config I simply can't reach xen-orchestra, and I don' really want to change TrueNas port.
from xen-orchestra-docker.
Hi,
I don't have specific instructions for you to try on your truenas, but any system using docker containers usually have the ability to map specific port on the host that's then forwarded to port inside the container.
See the readme examples of docker run command, -p 80:80 will do exactly this. One could change this to 8080:80 and then you would open up http://host-ip:8080 and end up to container that's running with port 80, without modifying the container at all.
from xen-orchestra-docker.
That what you have written makes sense and that is how things work, on TrueNas scale docker is under k8s, so basically what I have done I created nodeport 38999:80 and when I type my_nas_ip:38999 I'm getting to the login page of TrueNas
truenas# kubectl get service --all-namespaces
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
default kubernetes ClusterIP 172.17.0.1 <none> 443/TCP 4d6h
kube-system kube-dns ClusterIP 172.17.0.10 <none> 53/UDP,53/TCP,9153/TCP 4d6h
ix-transmission transmission-ix-chart NodePort 172.17.164.240 <none> 9091:36019/TCP,51413:36020/UDP 5h8m
ix-xen-orchestra xen-orchestra-ix-chart NodePort 172.17.126.163 <none> 80:38999/TCP 84m
from xen-orchestra-docker.
I think the easiest way to solve my issue is to change TrueNas HTTP/HTTPS ports
from xen-orchestra-docker.
Hi,
You probably figured this out already, but just wanted to let you know. I refactored the image quite a bit and it now has the option to change listening ports as well. Check out the updated readme if interested.
from xen-orchestra-docker.
Hi @ronivay yeah, I stopped using the hostNetwork and forwarded the port properly to a Kubernetes POD so everything is fine.
Thank you, this functionality might be helpful anyway.
from xen-orchestra-docker.
@ronivay just in case you are interested to push your image further, there is a project https://github.com/k8s-at-home, they maintain a number of useful services and provide HELM charts for deployment. k8s-at home is used by https://github.com/truecharts/apps which is used by TrueNas Scale and TrueNas Scale is used by a lot of users with homelabs.
Would love to see it there :)
from xen-orchestra-docker.
Related Issues (20)
- docker pull ronivay/xen-orchestra-docker HOT 2
- Custom cert definition, script error HOT 3
- Unraid Docker template HOT 2
- Container does not start HOT 3
- ssl connection to XCP-NG using an internal/custom CA certificate HOT 7
- invalid credentials HOT 6
- The latest image (5.100.1) is not working HOT 13
- arm64 build failing HOT 8
- Full backup of VM is failing after 5.100.1 HOT 4
- Build didn't run due to repo inactivity. HOT 2
- NTFS support? HOT 3
- File Restore Not Working HOT 6
- Is it necessary to register with XOA in the cloud to use this container? HOT 3
- issue with remotes HOT 2
- Issue with Google oAuth and container version 5.120.2 HOT 2
- No vm or host stats HOT 2
- Request: Latest-official tag HOT 1
- Can't mount nfs remote (In XO / Settings / Remotes ) HOT 3
- Cannot start container as of today HOT 2
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 xen-orchestra-docker.